summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2025-12-16 11:24:49 +0300
committerMiguel Ojeda <ojeda@kernel.org>2026-01-19 03:13:22 +0300
commit84b1b49eccb79ec2e4aaa45116fffb2ac61b876c (patch)
tree264e8227c0190d45e8d57dc34f38356be3a06807 /scripts
parent1b18b37a2c30f6e6698205a06de393f7e626f5d2 (diff)
downloadlinux-84b1b49eccb79ec2e4aaa45116fffb2ac61b876c.tar.xz
rust: ptr: replace unneeded use of `build_assert`
Since `ALIGN` is a const parameter, this assertion can be done in const context using the `assert!` macro. Suggested-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20251216-ptr_assert-v1-1-d8b2d5c5741d@nvidia.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions