Re: [PATCH 2/5] platform/x86/intel: Move intel_pmt from MFD to Auxiliary Bus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi "David,

I love your patch! Yet something to improve:

[auto build test ERROR on helgaas-pci/next]
[also build test ERROR on v5.15]
[cannot apply to lee-mfd/for-mfd-next linus/master next-20211112]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/David-E-Box/Move-intel_pm-from-MFD-to-Auxiliary-bus/20211001-092947
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/d63e76113333b937640e263f8b63be91d307a61e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review David-E-Box/Move-intel_pm-from-MFD-to-Auxiliary-bus/20211001-092947
        git checkout d63e76113333b937640e263f8b63be91d307a61e
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/platform/x86/intel/pmt/crashlog.c:303:41: error: 'pmt_crashlog_aux_id_table' defined but not used [-Werror=unused-const-variable=]
     303 | static const struct auxiliary_device_id pmt_crashlog_aux_id_table[] = {
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/pmt_crashlog_aux_id_table +303 drivers/platform/x86/intel/pmt/crashlog.c

   302	
 > 303	static const struct auxiliary_device_id pmt_crashlog_aux_id_table[] = {
   304		{ .name = "intel_extended_caps.4", },
   305		{},
   306	};
   307	MODULE_DEVICE_TABLE(auxiliary, pmt_crashlog_aux_id_table);
   308	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux