gcc-plugins: use KERNELVERSION for plugin version
[linux-block.git] / scripts / gcc-plugins / structleak_plugin.c
index 86b608a24ec04a9463249f832698db535035ff01..8bc04068ed398ab137be3d308455c1c4254f7ecd 100644 (file)
@@ -37,7 +37,7 @@
 __visible int plugin_is_GPL_compatible;
 
 static struct plugin_info structleak_plugin_info = {
-       .version        = UTS_RELEASE,
+       .version        = PLUGIN_VERSION,
        .help           = "disable\tdo not activate plugin\n"
                          "byref\tinit structs passed by reference\n"
                          "byref-all\tinit anything passed by reference\n"