All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 6723/8072] include/scsi/scsi_sense.h:34:9: warning: 'ASC' redefined
@ 2026-09-18  5:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-18  5:54 UTC (permalink / raw)
  To: Damien Le Moal
  Cc: 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:   e657a464aba873f5eaf3ca821b6e4016674492d6
commit: 72c54bd0cbb2e0c35f4acd056e91c596469edc5f [6723/8072] scsi: core: Define all additional sense codes and their qualifiers
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20260918/202609180743.kyprDg18-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260918/202609180743.kyprDg18-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/202609180743.kyprDg18-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/scsi/scsi_proto.h:15,
                    from include/scsi/scsi_common.h:11,
                    from include/linux/cdrom.h:17,
                    from drivers/block/floppy.c:252:
>> include/scsi/scsi_sense.h:34:9: warning: 'ASC' redefined
      34 | #define ASC(name, code)                                 \
         |         ^~~
   In file included from arch/sparc/include/asm/floppy_64.h:284,
                    from arch/sparc/include/asm/floppy.h:5,
                    from drivers/block/floppy.c:246:
   arch/sparc/include/asm/ns87303.h:23:9: note: this is the location of the previous definition
      23 | #define ASC     0x09
         |         ^~~


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-18  5:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18  5:54 [linux-next:master 6723/8072] include/scsi/scsi_sense.h:34:9: warning: 'ASC' redefined kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.