From: kernel test robot <lkp@intel.com>
To: John Garry <john.g.garry@oracle.com>, axboe@kernel.dk, hch@lst.de
Cc: oe-kbuild-all@lists.linux.dev, linux-block@vger.kernel.org,
John Garry <john.g.garry@oracle.com>
Subject: Re: [PATCH 07/11] block: Add missing entries from cmd_flag_name[]
Date: Wed, 10 Jul 2024 07:08:29 +0800 [thread overview]
Message-ID: <202407100611.wrfknWDf-lkp@intel.com> (raw)
In-Reply-To: <20240709110538.532896-8-john.g.garry@oracle.com>
Hi John,
kernel test robot noticed the following build warnings:
[auto build test WARNING on axboe-block/for-next]
[also build test WARNING on next-20240709]
[cannot apply to hch-configfs/for-next linus/master v6.10-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/John-Garry/block-remove-QUEUE_FLAG_STOPPED/20240709-191356
base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
patch link: https://lore.kernel.org/r/20240709110538.532896-8-john.g.garry%40oracle.com
patch subject: [PATCH 07/11] block: Add missing entries from cmd_flag_name[]
config: x86_64-randconfig-r132-20240710 (https://download.01.org/0day-ci/archive/20240710/202407100611.wrfknWDf-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407100611.wrfknWDf-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/202407100611.wrfknWDf-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> block/blk-mq-debugfs.c:231:9: sparse: sparse: Initializer entry defined twice
block/blk-mq-debugfs.c:237:9: sparse: also defined here
vim +231 block/blk-mq-debugfs.c
9abb2ad21e8b9b7 Omar Sandoval 2017-01-25 214
1a435111f8eb30b Omar Sandoval 2017-05-04 215 #define CMD_FLAG_NAME(name) [__REQ_##name] = #name
8658dca8bd5666f Bart Van Assche 2017-04-26 216 static const char *const cmd_flag_name[] = {
1a435111f8eb30b Omar Sandoval 2017-05-04 217 CMD_FLAG_NAME(FAILFAST_DEV),
1a435111f8eb30b Omar Sandoval 2017-05-04 218 CMD_FLAG_NAME(FAILFAST_TRANSPORT),
1a435111f8eb30b Omar Sandoval 2017-05-04 219 CMD_FLAG_NAME(FAILFAST_DRIVER),
1a435111f8eb30b Omar Sandoval 2017-05-04 220 CMD_FLAG_NAME(SYNC),
1a435111f8eb30b Omar Sandoval 2017-05-04 221 CMD_FLAG_NAME(META),
1a435111f8eb30b Omar Sandoval 2017-05-04 222 CMD_FLAG_NAME(PRIO),
1a435111f8eb30b Omar Sandoval 2017-05-04 223 CMD_FLAG_NAME(NOMERGE),
1a435111f8eb30b Omar Sandoval 2017-05-04 224 CMD_FLAG_NAME(IDLE),
1a435111f8eb30b Omar Sandoval 2017-05-04 225 CMD_FLAG_NAME(INTEGRITY),
1a435111f8eb30b Omar Sandoval 2017-05-04 226 CMD_FLAG_NAME(FUA),
1a435111f8eb30b Omar Sandoval 2017-05-04 227 CMD_FLAG_NAME(PREFLUSH),
1a435111f8eb30b Omar Sandoval 2017-05-04 228 CMD_FLAG_NAME(RAHEAD),
1a435111f8eb30b Omar Sandoval 2017-05-04 229 CMD_FLAG_NAME(BACKGROUND),
22d538213ec4fa6 Bart Van Assche 2017-08-18 230 CMD_FLAG_NAME(NOWAIT),
1c26010c5e1b9ad Jianchao Wang 2019-01-24 @231 CMD_FLAG_NAME(NOUNMAP),
6ce913fe3eee14f Christoph Hellwig 2021-10-12 232 CMD_FLAG_NAME(POLLED),
6c56c597270e732 John Garry 2024-07-09 233 CMD_FLAG_NAME(ALLOC_CACHE),
6c56c597270e732 John Garry 2024-07-09 234 CMD_FLAG_NAME(SWAP),
6c56c597270e732 John Garry 2024-07-09 235 CMD_FLAG_NAME(DRV),
6c56c597270e732 John Garry 2024-07-09 236 CMD_FLAG_NAME(FS_PRIVATE),
6c56c597270e732 John Garry 2024-07-09 237 CMD_FLAG_NAME(NOUNMAP),
8658dca8bd5666f Bart Van Assche 2017-04-26 238 };
1a435111f8eb30b Omar Sandoval 2017-05-04 239 #undef CMD_FLAG_NAME
8658dca8bd5666f Bart Van Assche 2017-04-26 240
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-07-09 23:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 11:05 [PATCH RFC 00/11] block debugfs: Catch missing flag array members John Garry
2024-07-09 11:05 ` [PATCH 01/11] block: remove QUEUE_FLAG_STOPPED John Garry
2024-07-09 11:05 ` [PATCH 02/11] block: Make QUEUE_FLAG_x as an enum John Garry
2024-07-09 11:05 ` [PATCH 03/11] block: Add build-time assert for size of blk_queue_flag_name[] John Garry
2024-07-09 11:05 ` [PATCH 04/11] block: Catch possible entries missing from hctx_state_name[] John Garry
2024-07-09 11:05 ` [PATCH 05/11] block: Catch possible entries missing from hctx_flag_name[] John Garry
2024-07-09 11:05 ` [PATCH 06/11] block: Catch possible entries missing from alloc_policy_name[] John Garry
2024-07-09 11:05 ` [PATCH 07/11] block: Add missing entries from cmd_flag_name[] John Garry
2024-07-09 23:08 ` kernel test robot [this message]
2024-07-09 11:05 ` [PATCH 08/11] block: Catch possible entries missing " John Garry
2024-07-09 11:05 ` [PATCH 09/11] block: Make RQF_x as an enum John Garry
2024-07-09 11:23 ` Christoph Hellwig
2024-07-09 11:51 ` John Garry
2024-07-09 11:05 ` [PATCH 10/11] block: Add zone write plugging entry to rqf_name[] John Garry
2024-07-09 11:05 ` [PATCH 11/11] block: Catch possible entries missing from rqf_name[] John Garry
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=202407100611.wrfknWDf-lkp@intel.com \
--to=lkp@intel.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=john.g.garry@oracle.com \
--cc=linux-block@vger.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