All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Damien Le Moal <dlemoal@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
	"Martin K. Petersen (Oracle)" <mkp@kernel.org>,
	Johannes Thumshirn <johannes.thumshirn@wdc.com>,
	Hannes Reinecke <hare@kernel.org>
Subject: [linux-next:master 6723/8072] include/scsi/scsi_sense.h:34:9: warning: 'ASC' redefined
Date: Fri, 18 Sep 2026 07:54:28 +0200	[thread overview]
Message-ID: <202609180743.kyprDg18-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-18  5:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202609180743.kyprDg18-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dlemoal@kernel.org \
    --cc=hare@kernel.org \
    --cc=johannes.thumshirn@wdc.com \
    --cc=mkp@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.