summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-05-11 02:25:54 +0300
committerKees Cook <keescook@chromium.org>2022-05-11 02:54:33 +0300
commit61f60bac8c05f8ecd2ae2a6360520b91a45be9a2 (patch)
tree9da65ef7872318136e0ccae07ce2b24b1d9b0faa /scripts/gcc-plugins/structleak_plugin.c
parent1ff297584fad2eef390f212b860e0fbb7363e0e8 (diff)
downloadlinux-61f60bac8c05f8ecd2ae2a6360520b91a45be9a2.tar.xz
gcc-plugins: Change all version strings match kernel
It's not meaningful for the GCC plugins to track their versions separately from the rest of the kernel. Switch all versions to the kernel version. Fix mismatched indenting while we're at it. Cc: linux-hardening@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
-rw-r--r--scripts/gcc-plugins/structleak_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gcc-plugins/structleak_plugin.c b/scripts/gcc-plugins/structleak_plugin.c
index 74e319288389..86b608a24ec0 100644
--- a/scripts/gcc-plugins/structleak_plugin.c
+++ b/scripts/gcc-plugins/structleak_plugin.c
@@ -37,7 +37,7 @@
__visible int plugin_is_GPL_compatible;
static struct plugin_info structleak_plugin_info = {
- .version = "20190125vanilla",
+ .version = UTS_RELEASE,
.help = "disable\tdo not activate plugin\n"
"byref\tinit structs passed by reference\n"
"byref-all\tinit anything passed by reference\n"