From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E7DDCCA489 for ; Sun, 24 Jul 2022 00:13:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235630AbiGXANV (ORCPT ); Sat, 23 Jul 2022 20:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbiGXANQ (ORCPT ); Sat, 23 Jul 2022 20:13:16 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B183AB43 for ; Sat, 23 Jul 2022 17:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658621595; x=1690157595; h=date:from:to:cc:subject:message-id:mime-version; bh=FgbnEhB4B7/tiGmWtFlUcZlVuB4qLIcnAgg6VOF17HM=; b=Jn2dN5rx0OuNIVuqVyufN4IldT5buv4wIhEOEgu6qD1GpXE+YTJv6dfu RAQbPab+YT5NwugIbtcXYPRZqR5nzhW6N4mgECDVcQWO2MeVmu0nMLC9j Stj17zhTq5ZNW4Kez7263AzBCwxV9hq2wybrzziw5FSp2E+n+pr+L1fu2 NrpPa1CPIfHCaDp/rksuwgQD3CTEc/p8UPCTyxxXC1matw/bhZ1V+c4HA yOI3y8VNTjJaEns4oAF52fiPir+X03KD56caOoJEDH/hqqu4WpPxBSFmp 7iskPxuPOhRh4aFonirG//+ha/VcOnuZBA2McDg25JfChggZVUtq6ofoK w==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="288682016" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="288682016" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 17:13:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="741432728" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 23 Jul 2022 17:13:13 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oFPFA-0003Gh-2t; Sun, 24 Jul 2022 00:13:12 +0000 Date: Sun, 24 Jul 2022 08:12:39 +0800 From: kernel test robot To: Vinod Koul Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Herbert Xu , Linus Walleij Subject: drivers/crypto/qcom-rng.c:190:34: warning: 'qcom_rng_of_match' defined but not used Message-ID: <202207240830.NxaVYPVM-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 515f71412bb73ebd7f41f90e1684fc80b8730789 commit: ceec5f5b59882b871a722ca4d49b767a09a4bde9 crypto: qcom-rng - Add Qcom prng driver date: 4 years ago config: i386-buildonly-randconfig-r004-20220718 (https://download.01.org/0day-ci/archive/20220724/202207240830.NxaVYPVM-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ceec5f5b59882b871a722ca4d49b767a09a4bde9 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout ceec5f5b59882b871a722ca4d49b767a09a4bde9 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/crypto/ drivers/i2c/busses/ drivers/mailbox/ drivers/soc/qcom/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/crypto/qcom-rng.c:190:34: warning: 'qcom_rng_of_match' defined but not used [-Wunused-const-variable=] 190 | static const struct of_device_id qcom_rng_of_match[] = { | ^~~~~~~~~~~~~~~~~ vim +/qcom_rng_of_match +190 drivers/crypto/qcom-rng.c 189 > 190 static const struct of_device_id qcom_rng_of_match[] = { 191 { .compatible = "qcom,prng" }, 192 {} 193 }; 194 MODULE_DEVICE_TABLE(of, qcom_rng_of_match); 195 -- 0-DAY CI Kernel Test Service https://01.org/lkp