linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 3357/4264] kernel/trace/trace_selftest.c:761: warning: "BYTE_NUMBER" redefined
@ 2024-06-06  9:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-06  9:16 UTC (permalink / raw)
  To: Steven Rostedt (VMware)
  Cc: oe-kbuild-all, Linux Memory Management List, Masami Hiramatsu (Google)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ee78a17615ad0cfdbbc27182b1047cd36c9d4d5f
commit: 47c3c70aa36971c90e32e91f9254110195d67a02 [3357/4264] function_graph: Add selftest for passing local variables
config: sh-randconfig-c004-20211223 (https://download.01.org/0day-ci/archive/20240606/202406061744.rZDXfRrG-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240606/202406061744.rZDXfRrG-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406061744.rZDXfRrG-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from kernel/trace/trace.c:8677:
>> kernel/trace/trace_selftest.c:761: warning: "BYTE_NUMBER" redefined
     761 | #define BYTE_NUMBER 123
         | 
   In file included from arch/sh/include/asm/bitops.h:17,
                    from include/linux/bitops.h:63,
                    from include/linux/thread_info.h:27,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/sh/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:79,
                    from include/linux/spinlock.h:56,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:7,
                    from include/linux/mm.h:7,
                    from include/linux/ring_buffer.h:5,
                    from kernel/trace/trace.c:15:
   arch/sh/include/asm/bitops-op32.h:14: note: this is the location of the previous definition
      14 | #define BYTE_NUMBER(nr)         ((nr ^ BITOP_LE_SWIZZLE) / BITS_PER_BYTE)
         | 


vim +/BYTE_NUMBER +761 kernel/trace/trace_selftest.c

   760	
 > 761	#define BYTE_NUMBER 123
   762	#define SHORT_NUMBER 12345
   763	#define WORD_NUMBER 1234567890
   764	#define LONG_NUMBER 1234567890123456789LL
   765	

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


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

only message in thread, other threads:[~2024-06-06  9:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-06  9:16 [linux-next:master 3357/4264] kernel/trace/trace_selftest.c:761: warning: "BYTE_NUMBER" 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