From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Thorsten Leemhuis <linux@leemhuis.info>
Cc: stable@vger.kernel.org, patches@lists.linux.dev,
linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org,
patches@kernelci.org, lkft-triage@lists.linaro.org,
pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com,
sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de,
conor@kernel.org, hargar@microsoft.com, broonie@kernel.org,
Miguel Ojeda <ojeda@kernel.org>,
Justin Forbes <jforbes@fedoraproject.org>,
Alex Gaynor <alex.gaynor@gmail.com>
Subject: Re: [PATCH 6.14 000/731] 6.14.2-rc1 review
Date: Tue, 8 Apr 2025 16:02:29 +0200 [thread overview]
Message-ID: <2025040857-disdain-reprocess-0891@gregkh> (raw)
In-Reply-To: <c06b17f2-fc80-47a9-b108-8e53be3d4a76@leemhuis.info>
On Tue, Apr 08, 2025 at 03:16:31PM +0200, Thorsten Leemhuis wrote:
> On 08.04.25 12:38, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 6.14.2 release.
> > There are 731 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
>
> Compiling for Fedora failed for me:
>
>
> """
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/pci.rs:69:58
> |
> 69 | let pdev = unsafe { &*pdev.cast::<Device<device::Core>>() };
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/pci.rs:240:35
> |
> 240 | fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>;
> | ^^^^ not found in `device`
>
> error[E0405]: cannot find trait `DeviceContext` in module `device`
> --> rust/kernel/pci.rs:253:32ich of
> |
> 253 | pub struct Device<Ctx: device::DeviceContext = device::Normal>(
> | ^^^^^^^^^^^^^ not found in `device`
>
> error[E0412]: cannot find type `Normal` in module `device`
> --> rust/kernel/pci.rs:253:56
> |
> 253 | pub struct Device<Ctx: device::DeviceCchangeontext = device::Normal>(
> | ^^^^^^ not found in `device`
> |
> help: there is an enum variant `core::intrinsics::mir::BasicBlock::Normal` and 1 other; try using the variant's enum
> |
> 253 | pub struct Device<Ctx: device::DeviceContext = core::intrinsics::mir::BasicBlock>(
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 253 | pub struct Device<Ctx: device::DeviceContext = core::num::FpCategory>(
> | ~~~~~~~~~~~~~~~~~~~~~
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/pci.rs:411:21
> |
> 411 | impl Device<device::Core> {
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/pci.rs:425:31
> |
> 425 | impl Deref for Device<device::Core> {
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/pci.rs:439:27
> |
> 439 | impl From<&Device<device::Core>> for ARef<Device> {
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/pci.rs:440:34
> |
> 440 | fn from(dev: &Device<device::Core>) -> Self {
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/platform.rs:65:58
> |
> 65 | let pdev = unsafe { &*pdev.cast::<Device<device::Core>>() };
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/platform.rs:167:35
> |
> 167 | fn probe(dev: &Device<device::Core>, id_info: Option<&Self::IdInfo>)
> | ^^^^ not found in `device`
>
> error[E0405]: cannot find trait `DeviceContext` in module `device`
> --> rust/kernel/platform.rs:182:32
> |
> 182 | pub struct Device<Ctx: device::DeviceContext = device::Normal>(
> | ^^^^^^^^^^^^^ not found in `device`
>
> error[E0412]: cannot find type `Normal` in module `device`
> --> rust/kernel/platform.rs:182:56
> |
> 182 | pub struct Device<Ctx: device::DeviceContext = device::Normal>(
> | ^^^^^^ not found in `device`
> |
> help: there is an enum variant `core::intrinsics::mir::BasicBlock::Normal` and 1 other; try using the variant's enum
> |
> 182 | pub struct Device<Ctx: device::DeviceContext = core::intrinsics::mir::BasicBlock>(
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 182 | pub struct Device<Ctx: device::DeviceContext = core::num::FpCategory>(
> | ~~~~~~~~~~~~~~~~~~~~~
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/platform.rs:193:31
> |
> 193 | impl Deref for Device<device::Core> {
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/platform.rs:207:27
> |
> 207 | impl From<&Device<device::Core>> for ARef<Device> {
> | ^^^^ not found in `device`
>
> error[E0412]: cannot find type `Core` in module `device`
> --> rust/kernel/platform.rs:208:34
> |
> 208 | fn from(dev: &Device<device::Core>) -> Self {
> | ^^^^ not found in `device`
>
> error: aborting due to 15 previous errors
>
> Some errors have detailed explanations: E0405, E0412.
> For more information about an error, try `rustc --explain E0405`.
> make[2]: *** [rust/Makefile:482: rust/kernel.o] Error 1
> make[1]: *** [/builddir/build/BUILD/kernel-6.14.2-build/kernel-6.14.2-rc1/linux-6.14.2-0.rc1.300.vanilla.fc42.x86_64/Makefile:1283: prepare] Error 2
> make: *** [Makefile:259: __sub-make] Error 2
> """
>
>
> >From a quick look there seem to be three changes in this set that touch
> rust/kernel/pci.rs; if needed, I can take a closer look later or tomorrow
> what exactly is causing trouble (I just hope it's no new build requirement
> missing on my side or something like that).
Hm, odd, I thought I was testing Rust builds on my build system but
obviously not. I'll go work on this later tonight...
thanks,
greg k-h
next prev parent reply other threads:[~2025-04-08 14:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 10:38 [PATCH 6.14 000/731] 6.14.2-rc1 review Greg Kroah-Hartman
2025-04-08 10:44 ` [PATCH 6.14 393/731] RDMA/core: Dont expose hw_counters outside of init net namespace Greg Kroah-Hartman
2025-04-08 10:50 ` [PATCH 6.14 716/731] ext4: fix OOB read when checking dotdot dir Greg Kroah-Hartman
2025-04-08 12:23 ` [PATCH 6.14 000/731] 6.14.2-rc1 review Christian Heusel
2025-04-08 12:50 ` Ronald Warsow
2025-04-08 13:16 ` Thorsten Leemhuis
2025-04-08 14:02 ` Greg Kroah-Hartman [this message]
2025-04-08 14:46 ` Christian Heusel
2025-04-08 16:16 ` Miguel Ojeda
2025-04-08 14:59 ` Mark Brown
2025-04-08 15:20 ` Greg Kroah-Hartman
2025-04-08 15:21 ` Greg Kroah-Hartman
2025-04-08 15:22 ` Naresh Kamboju
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=2025040857-disdain-reprocess-0891@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=alex.gaynor@gmail.com \
--cc=broonie@kernel.org \
--cc=conor@kernel.org \
--cc=f.fainelli@gmail.com \
--cc=hargar@microsoft.com \
--cc=jforbes@fedoraproject.org \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@leemhuis.info \
--cc=linux@roeck-us.net \
--cc=lkft-triage@lists.linaro.org \
--cc=ojeda@kernel.org \
--cc=patches@kernelci.org \
--cc=patches@lists.linux.dev \
--cc=pavel@denx.de \
--cc=rwarsow@gmx.de \
--cc=shuah@kernel.org \
--cc=srw@sladewatkins.net \
--cc=stable@vger.kernel.org \
--cc=sudipm.mukherjee@gmail.com \
--cc=torvalds@linux-foundation.org \
/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