[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250312220950.28ed9ad7@canb.auug.org.au>
Date: Wed, 12 Mar 2025 22:09:50 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Greg KH <greg@...ah.com>, Danilo Krummrich <dakr@...nel.org>
Cc: Fiona Behrens <me@...enk.dev>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the driver-core tree
Hi all,
After merging the driver-core tree, today's linux-next build (x86_64
allmodconfig) failed like this:
error[E0599]: no method named `readl` found for reference `&Bar<8>` in the current scope
--> drivers/gpu/nova-core/regs.rs:38:18
|
38 | Self(bar.readl(BOOT0_OFFSET))
| ^^^^^
|
help: there is a method `read8` with a similar name
|
38 | Self(bar.read8(BOOT0_OFFSET))
| ~~~~~
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0599`.
Caused by commit
354fd6e86fac ("rust: io: rename `io::Io` accessors")
interacting with commit
54e6baf123fd ("gpu: nova-core: add initial driver stub")
from the drm-nova tree.
I applied the following merge fix patch for today.
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Wed, 12 Mar 2025 21:36:48 +1100
Subject: [PATCH] fix up for "rust: io: rename `io::Io` accessors"
interacting with "gpu: nova-core: add initial driver stub"
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
drivers/gpu/nova-core/regs.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/nova-core/regs.rs b/drivers/gpu/nova-core/regs.rs
index 50aefb150b0b..b1a25b86ef17 100644
--- a/drivers/gpu/nova-core/regs.rs
+++ b/drivers/gpu/nova-core/regs.rs
@@ -35,7 +35,7 @@
impl Boot0 {
#[inline]
pub(crate) fn read(bar: &Bar0) -> Self {
- Self(bar.readl(BOOT0_OFFSET))
+ Self(bar.read32(BOOT0_OFFSET))
}
#[inline]
--
2.45.2
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists