* [linux-next:master 6088/8413] include/scsi/scsi_sense.h:34:9: warning: 'ASC' macro redefined
@ 2026-09-22 6:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-22 6:28 UTC (permalink / raw)
To: Damien Le Moal
Cc: llvm, oe-kbuild-all, Martin K. Petersen (Oracle),
Johannes Thumshirn, Hannes Reinecke
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5c4d4169604b335c38bbc79bc1fc03042981fc6f
commit: 72c54bd0cbb2e0c35f4acd056e91c596469edc5f [6088/8413] scsi: core: Define all additional sense codes and their qualifiers
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260922/202609221331.ibh0yv1y-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260922/202609221331.ibh0yv1y-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/202609221331.ibh0yv1y-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/block/floppy.c:252:
In file included from include/linux/cdrom.h:17:
In file included from include/scsi/scsi_common.h:11:
In file included from include/scsi/scsi_proto.h:15:
>> include/scsi/scsi_sense.h:34:9: warning: 'ASC' macro redefined [-Wmacro-redefined]
34 | #define ASC(name, code) \
| ^
arch/sparc/include/asm/ns87303.h:23:9: note: previous definition is here
23 | #define ASC 0x09
| ^
1 warning generated.
vim +/ASC +34 include/scsi/scsi_sense.h
32
33 #define ASC_DEF(name) ASC_##name
> 34 #define ASC(name, code) \
35 ASC_DEF(name) = (code), \
36 name = ((code) << 8) | 0x00
37
--
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:[~2026-09-22 6:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-22 6:28 [linux-next:master 6088/8413] include/scsi/scsi_sense.h:34:9: warning: 'ASC' 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