diff options
| author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2026-10-02 19:45:50 +0900 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-10-12 17:31:14 +0200 |
| commit | 5c94956f2bfb87025c1eaded6c51d5841d38d333 (patch) | |
| tree | 32351ce32c9254ae4d0221df90c04790f4cb5f5d /scripts/Makefile.thinlto | |
| parent | daff0977b2e36c777a00b4ca9fabc019834e60aa (diff) | |
| download | linux-5c94956f2bfb87025c1eaded6c51d5841d38d333.tar.gz linux-5c94956f2bfb87025c1eaded6c51d5841d38d333.zip | |
rust: bug: update the SAFETY comment for warn_slowpath_fmt() on UML
The SAFETY comment says that it is always safe to call
`warn_slowpath_fmt()` with a valid null-terminated string. This is not
true. The taint argument must also be a valid taint number.
Commit 951d09ca450c ("rust: bug: pass TAINT_WARN to warn_slowpath_fmt()
on UML") fixed a bug where it was not.
List each condition that the call meets: the file name, the taint
number, and the null `fmt`.
Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Link: https://patch.msgid.link/20261002104550.2877930-1-tomo@flapping.org
Cc: stable@vger.kernel.org
Fixes: dff64b072708 ("rust: Add warn_on macro")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
