Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Damien Le Moal <dlemoal@kernel.org>
Cc: llvm@lists.linux.dev, 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 6088/8413] include/scsi/scsi_sense.h:34:9: warning: 'ASC' macro redefined
Date: Tue, 22 Sep 2026 14:28:44 +0800	[thread overview]
Message-ID: <202609221331.ibh0yv1y-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-09-22  6:29 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=202609221331.ibh0yv1y-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dlemoal@kernel.org \
    --cc=hare@kernel.org \
    --cc=johannes.thumshirn@wdc.com \
    --cc=llvm@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox