linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/crypto/qcom-rng.c:190:34: warning: 'qcom_rng_of_match' defined but not used
@ 2022-07-24  0:12 kernel test robot
  2022-07-29  9:35 ` [PATCH] crypto: qcom-rng - Fix qcom_rng_of_match unused warning Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-07-24  0:12 UTC (permalink / raw)
  To: Vinod Koul; +Cc: kbuild-all, linux-kernel, Herbert Xu, Linus Walleij

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 <lkp@intel.com>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-03 12:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-24  0:12 drivers/crypto/qcom-rng.c:190:34: warning: 'qcom_rng_of_match' defined but not used kernel test robot
2022-07-29  9:35 ` [PATCH] crypto: qcom-rng - Fix qcom_rng_of_match unused warning Herbert Xu
2022-08-03 12:25   ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).