Re: [PATCH v3 16/20] platform/x86: Add alienware-wmi.h

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

 



Hi Kurt,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 6b228cfc52a6e9b7149cf51e247076963d6561cd]

url:    https://github.com/intel-lab-lkp/linux/commits/Kurt-Borja/platform-x86-alienware-wmi-Remove-unnecessary-check-at-module-exit/20250105-233751
base:   6b228cfc52a6e9b7149cf51e247076963d6561cd
patch link:    https://lore.kernel.org/r/20250105153019.19206-18-kuurtb%40gmail.com
patch subject: [PATCH v3 16/20] platform/x86: Add alienware-wmi.h
config: i386-buildonly-randconfig-006-20250105 (https://download.01.org/0day-ci/archive/20250106/202501060332.wvfPD58P-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250106/202501060332.wvfPD58P-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501060332.wvfPD58P-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/platform/x86/dell/alienware-wmi-base.c:17:
>> drivers/platform/x86/dell/alienware-wmi.h:9:9: warning: 'pr_fmt' macro redefined [-Wmacro-redefined]
       9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
         |         ^
   include/linux/printk.h:391:9: note: previous definition is here
     391 | #define pr_fmt(fmt) fmt
         |         ^
   1 warning generated.


vim +/pr_fmt +9 drivers/platform/x86/dell/alienware-wmi.h

   > 9	#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
    10	

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




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux