aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/soc/apple/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2026-03-14 10:06:14 +0900
committerDanilo Krummrich <dakr@kernel.org>2026-03-17 20:04:11 +0100
commit7836ec76ec5cd8d45759a6a360b1fda4829d2734 (patch)
treec87b6b5e17a19d5ce6979ec8fafcfa308576103f /include/linux/soc/apple/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com
parentrust: num: add `into_bool` method to `Bounded` (diff)
rust: num: make Bounded::get const
There is a need to access the inner value of a `Bounded` in const context, notably for bitfields and registers. Remove the invariant check of `Bounded::get`, which allows us to make it const. Reviewed-by: Gary Guo <gary@garyguo.net> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260314-register-v9-4-86805b2f7e9d@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/soc/apple/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions