summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTimo Grautstueck <timo.grautstueck@web.de>2024-10-06 16:02:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-01 01:58:18 +0100
commit978d1f63fc6e1c6310f8629fe3ba23634b64985e (patch)
treebce1a54f8848ef2275569178f07af8bbeefdebe7 /lib
parent8552150e5d804cebec436b86288dd2235b136156 (diff)
downloadlinux-978d1f63fc6e1c6310f8629fe3ba23634b64985e.tar.gz
linux-978d1f63fc6e1c6310f8629fe3ba23634b64985e.tar.bz2
linux-978d1f63fc6e1c6310f8629fe3ba23634b64985e.zip
lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW
[ Upstream commit ab8851431bef5cc44f0f3f0da112e883fd4d0df5 ] Just a grammar fix in lib/Kconfig.debug, under the config option RUST_BUILD_ASSERT_ALLOW. Reported-by: Miguel Ojeda <ojeda@kernel.org> Closes: https://github.com/Rust-for-Linux/linux/issues/1006 Fixes: ecaa6ddff2fd ("rust: add `build_error` crate") Signed-off-by: Timo Grautstueck <timo.grautstueck@web.de> Link: https://lore.kernel.org/r/20241006140244.5509-1-timo.grautstueck@web.de Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index da5513cfc125..f94c3e957b82 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -2999,7 +2999,7 @@ config RUST_BUILD_ASSERT_ALLOW
bool "Allow unoptimized build-time assertions"
depends on RUST
help
- Controls how are `build_error!` and `build_assert!` handled during build.
+ Controls how `build_error!` and `build_assert!` are handled during the build.
If calls to them exist in the binary, it may indicate a violated invariant
or that the optimizer failed to verify the invariant during compilation.