aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2021-02-27 14:20:23 +0000
committerMasahiro Yamada <[email protected]>2021-02-28 06:23:48 +0000
commit207da4c82ade9a6d59f7e794d737ba0748613fa2 (patch)
treee7c768dc4c8c19106d8930b487c35d3f6f228888 /scripts/gcc-plugins/structleak_plugin.c
parentkbuild: make -s option take precedence over V=1 (diff)
downloadkernel-207da4c82ade9a6d59f7e794d737ba0748613fa2.tar.gz
kernel-207da4c82ade9a6d59f7e794d737ba0748613fa2.zip
kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
Commit 78d3bb4483ba ("kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL") fixed the build error for empty SUBLEVEL or PATCHLEVEL by prepending a zero. Commit 9b82f13e7ef3 ("kbuild: clamp SUBLEVEL to 255") re-introduced this issue. This time, we cannot take the same approach because we have C code: #define LINUX_VERSION_PATCHLEVEL $(PATCHLEVEL) #define LINUX_VERSION_SUBLEVEL $(SUBLEVEL) Replace empty SUBLEVEL/PATCHLEVEL with a zero. Fixes: 9b82f13e7ef3 ("kbuild: clamp SUBLEVEL to 255") Reported-by: Christian Zigotzky <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-and-tested-by: Sasha Levin <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions