diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2025-12-08 11:47:05 +0900 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-01-18 20:40:12 +0100 |
| commit | 2af6ad09fc7dfe9b3610100983cccf16998bf34d (patch) | |
| tree | 19b3f219268fc77a1df40dab374bf67f6aea3120 /tools/perf/scripts/python | |
| parent | d6ff6e870077ae0f01a6f860ca1e4a5a825dc032 (diff) | |
rust: num: bounded: add missing comment for always inlined function
This code is always inlined to avoid a build error if the error path of
`build_assert` cannot be optimized out. Add a comment justifying the
`#[inline(always)]` property to avoid it being taken away by mistake.
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20251208-io-build-assert-v3-7-98aded02c1ea@nvidia.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
