Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [axboe-block:for-next 51/55] error[E0425]: cannot find value `QUEUE_FLAG_NONROT` in crate `bindings`
Date: Thu, 20 Jun 2024 17:10:37 +0800	[thread overview]
Message-ID: <202406201714.7ufo4LvK-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
head:   43ccacc7be96b71bf8c1461036034f1174be2f4d
commit: 69c34f07e45f2d52d9a41991867a1e5a85bbaaf3 [51/55] Merge branch 'for-6.11/block-limits' into for-6.11/block
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240620/202406201714.7ufo4LvK-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406201714.7ufo4LvK-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/202406201714.7ufo4LvK-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find value `QUEUE_FLAG_NONROT` in crate `bindings`
   --> rust/kernel/block/mq/gen_disk.rs:159:61
   |
   159  |             unsafe { bindings::blk_queue_flag_set(bindings::QUEUE_FLAG_NONROT, (*gendisk).queue) };
   |                                                             ^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `QUEUE_FLAG_NOMERGES`
   |
   ::: rust/bindings/bindings_generated.rs:9538:1
   |
   9538 | pub const QUEUE_FLAG_NOMERGES: u32 = 3;
   | ---------------------------------- similarly named constant `QUEUE_FLAG_NOMERGES` defined here
--
>> error[E0425]: cannot find value `QUEUE_FLAG_NONROT` in crate `bindings`
   --> rust/kernel/block/mq/gen_disk.rs:165:58
   |
   165  |                 bindings::blk_queue_flag_clear(bindings::QUEUE_FLAG_NONROT, (*gendisk).queue)
   |                                                          ^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `QUEUE_FLAG_NOMERGES`
   |
   ::: rust/bindings/bindings_generated.rs:9538:1
   |
   9538 | pub const QUEUE_FLAG_NOMERGES: u32 = 3;
   | ---------------------------------- similarly named constant `QUEUE_FLAG_NOMERGES` defined here

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-06-20  9:10 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=202406201714.7ufo4LvK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=axboe@kernel.dk \
    --cc=llvm@lists.linux.dev \
    --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