summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/bitfield.rs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nova-core/bitfield.rs')
-rw-r--r--drivers/gpu/nova-core/bitfield.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nova-core/bitfield.rs b/drivers/gpu/nova-core/bitfield.rs
index 136de7289162..f113439c6501 100644
--- a/drivers/gpu/nova-core/bitfield.rs
+++ b/drivers/gpu/nova-core/bitfield.rs
@@ -268,7 +268,7 @@ macro_rules! bitfield {
_ => ::kernel::build_error!("Unsupported storage type size")
}
};
- const [<$field:upper _SHIFT>]: u32 = Self::[<$field:upper _MASK>].trailing_zeros();
+ const [<$field:upper _SHIFT>]: u32 = $lo;
);
$(