From: kernel test robot <lkp@intel.com>
To: Mateusz Nowicki <mateusz.nowicki@posteo.net>,
Jens Axboe <axboe@kernel.dk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Caleb Sander Mateos <csander@purestorage.com>,
Sung-woo Kim <iam@sung-woo.kim>,
Josef Bacik <josef@toxicpanda.com>,
Alasdair Kergon <agk@redhat.com>,
Mike Snitzer <snitzer@kernel.org>,
Mikulas Patocka <mpatocka@redhat.com>,
Benjamin Marzinski <bmarzins@redhat.com>,
Ulf Hansson <ulfh@kernel.org>,
Richard Weinberger <richard@nod.at>,
Zhihao Cheng <chengzhihao1@huawei.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Sven Peter <sven@kernel.org>, Janne Grunau <j@jannau.net>,
Neal Gompa <neal@gompa.dev>, Keith Busch <kbusch@kernel.org>,
Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
Justin Tee <justin.tee@broadcom.com>,
Naresh Gottumukkala <nareshgottumukkala83@gmail.com>,
Paul Ely <paul.ely@broadcom.com>,
Chaitanya Kulkarni <kch@nvidia.com>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Thomas Fourier <fourier.thomas@gmail.com>,
Al Viro <viro@zeniv.linux.org.uk>,
Luke Wang <ziniu.wang_1@nxp.com>, Kees Cook <kees@kernel.org>,
linux-block@vger.kernel.org
Subject: Re: [PATCH v1] block: switch numa_node to int in blk_mq_hw_ctx and init_request
Date: Thu, 28 May 2026 22:32:41 +0200 [thread overview]
Message-ID: <202605282203.xhTf7sMS-lkp@intel.com> (raw)
In-Reply-To: <20260523125210.272274-1-mateusz.nowicki@posteo.net>
Hi Mateusz,
kernel test robot noticed the following build errors:
[auto build test ERROR on 45255ea1ca096b11b1303c9b54502a28f3a31dd1]
url: https://github.com/intel-lab-lkp/linux/commits/Mateusz-Nowicki/block-switch-numa_node-to-int-in-blk_mq_hw_ctx-and-init_request/20260523-205439
base: 45255ea1ca096b11b1303c9b54502a28f3a31dd1
patch link: https://lore.kernel.org/r/20260523125210.272274-1-mateusz.nowicki%40posteo.net
patch subject: [PATCH v1] block: switch numa_node to int in blk_mq_hw_ctx and init_request
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260528/202605282203.xhTf7sMS-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260528/202605282203.xhTf7sMS-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/202605282203.xhTf7sMS-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0308]: mismatched types
--> rust/kernel/block/mq/operations.rs:274:28
|
274 | init_request: Some(Self::init_request_callback),
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found fn item
| |
| arguments to this enum variant are incorrect
|
= note: expected fn pointer `unsafe extern "C" fn(_, _, _, i32) -> _`
found fn item `unsafe extern "C" fn(_, _, _, u32) -> _ {OperationsVTable::<T>::init_request_callback}`
help: the type constructed contains `unsafe extern "C" fn(*mut blk_mq_tag_set, *mut bindings::request, u32, u32) -> i32 {OperationsVTable::<T>::init_request_callback}` due to the type of the argument passed
--> rust/kernel/block/mq/operations.rs:274:23
|
274 | init_request: Some(Self::init_request_callback),
| ^^^^^---------------------------^
| |
| this argument influences the type of `Some`
note: tuple variant defined here
--> /opt/cross/rustc-1.88.0-bindgen-0.72.1/rustup/toolchains/1.88.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:597:5
|
597 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^^^
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-05-28 20:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-23 12:52 [PATCH v1] block: switch numa_node to int in blk_mq_hw_ctx and init_request Mateusz Nowicki
2026-05-25 6:03 ` Christoph Hellwig
2026-05-26 16:37 ` Jens Axboe
2026-05-28 20:32 ` kernel test robot [this message]
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=202605282203.xhTf7sMS-lkp@intel.com \
--to=lkp@intel.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=agk@redhat.com \
--cc=axboe@kernel.dk \
--cc=bmarzins@redhat.com \
--cc=chengzhihao1@huawei.com \
--cc=csander@purestorage.com \
--cc=fourier.thomas@gmail.com \
--cc=hch@lst.de \
--cc=iam@sung-woo.kim \
--cc=j@jannau.net \
--cc=josef@toxicpanda.com \
--cc=justin.tee@broadcom.com \
--cc=kbusch@kernel.org \
--cc=kch@nvidia.com \
--cc=kees@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=martin.petersen@oracle.com \
--cc=mateusz.nowicki@posteo.net \
--cc=miquel.raynal@bootlin.com \
--cc=mpatocka@redhat.com \
--cc=nareshgottumukkala83@gmail.com \
--cc=neal@gompa.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=paul.ely@broadcom.com \
--cc=richard@nod.at \
--cc=sagi@grimberg.me \
--cc=snitzer@kernel.org \
--cc=sven@kernel.org \
--cc=ulfh@kernel.org \
--cc=vigneshr@ti.com \
--cc=viro@zeniv.linux.org.uk \
--cc=ziniu.wang_1@nxp.com \
/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