Subject: Re: [PATCH net-next v2 1/3] crypto: caam: Make CRYPTO_DEV_FSL_CAAM dependent of COMPILE_TEST

From: kernel test robot <[email-masked]>
Date: Mon, 1 Jul 2024 13:48:21 +0800

Hi Breno,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Breno-Leitao/crypto-caam-Make-CRYPTO_DEV_FSL_CAAM-dependent-of-COMPILE_TEST/20240630-073726
base:   net-next/main
patch link:    https://lore.kernel.org/r/20240628161450.2541367-2-leitao%40debian.org
patch subject: [PATCH net-next v2 1/3] crypto: caam: Make CRYPTO_DEV_FSL_CAAM dependent of COMPILE_TEST
config: m68k-randconfig-r131-20240701
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce:

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email-masked]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email-masked]/

All warnings (new ones prefixed by >>):

>> drivers/crypto/caam/ctrl.c:83:34: warning: 'imx8m_machine_match' defined but not used [-Wunused-const-variable=]
      83 | static const struct of_device_id imx8m_machine_match[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~

vim +/imx8m_machine_match +83 drivers/crypto/caam/ctrl.c

281922a1d4f59b Kim Phillips 2012-06-22  82  
271e3830377ab5 Pankaj Gupta 2023-05-12 @83  static const struct of_device_id imx8m_machine_match[] = {
271e3830377ab5 Pankaj Gupta 2023-05-12  84  	{ .compatible = "fsl,imx8mm", },
271e3830377ab5 Pankaj Gupta 2023-05-12  85  	{ .compatible = "fsl,imx8mn", },
271e3830377ab5 Pankaj Gupta 2023-05-12  86  	{ .compatible = "fsl,imx8mp", },
271e3830377ab5 Pankaj Gupta 2023-05-12  87  	{ .compatible = "fsl,imx8mq", },
271e3830377ab5 Pankaj Gupta 2023-05-12  88  	{ .compatible = "fsl,imx8ulp", },
271e3830377ab5 Pankaj Gupta 2023-05-12  89  	{ }
271e3830377ab5 Pankaj Gupta 2023-05-12  90  };
271e3830377ab5 Pankaj Gupta 2023-05-12  91  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki