llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [asahilinux:atcphy-20230219 51/54] drivers/pci/probe.c:6:9: warning: 'DEBUG' macro redefined
@ 2023-02-19 18:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-19 18:47 UTC (permalink / raw)
  To: Sven Peter; +Cc: llvm, oe-kbuild-all

tree:   https://github.com/AsahiLinux/linux atcphy-20230219
head:   9928386c36c8def0becc6ce2db8f18f2111f9b3c
commit: 602347e80274cae6b71dfd3a86613454d806ec34 [51/54] enable debug in various places
config: riscv-randconfig-r002-20230219 (https://download.01.org/0day-ci/archive/20230220/202302200203.13zAgazc-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db89896bbbd2251fff457699635acbbedeead27f)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/AsahiLinux/linux/commit/602347e80274cae6b71dfd3a86613454d806ec34
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux atcphy-20230219
        git checkout 602347e80274cae6b71dfd3a86613454d806ec34
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/pci/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302200203.13zAgazc-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/pci/probe.c:6:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   #define DEBUG
           ^
   <command line>:5:9: note: previous definition is here
   #define DEBUG 1
           ^
   1 warning generated.
--
>> drivers/pci/probe.c:6:9: warning: 'DEBUG' macro redefined [-Wmacro-redefined]
   #define DEBUG
           ^
   <command line>:6:9: note: previous definition is here
   #define DEBUG 1
           ^
   1 warning generated.


vim +/DEBUG +6 drivers/pci/probe.c

   > 6	#define DEBUG
     7	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-19 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-19 18:47 [asahilinux:atcphy-20230219 51/54] drivers/pci/probe.c:6:9: warning: 'DEBUG' macro redefined kernel test robot

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).