projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6212804
)
kbuild: remove redundant CONFIG_KASAN check from scripts/Makefile.kasan
author
Masahiro Yamada
<masahiroy@kernel.org>
Thu, 10 Sep 2020 13:44:28 +0000
(22:44 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Thu, 24 Sep 2020 15:36:49 +0000
(
00:36
+0900)
Since commit
e0fe0bbe57b8
("kbuild: include scripts/Makefile.* only
when relevant CONFIG is enabled"), this file is included only when
CONFIG_KASAN=y.
This ifdef is redundant.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Marco Elver <elver@google.com>
scripts/Makefile.kasan
patch
|
blob
|
history
diff --git
a/scripts/Makefile.kasan
b/scripts/Makefile.kasan
index f4beee1b00130ce487c56527db62a173c9d1f05c..1532f1a41a8f2e373c8a4ce2d3727e1e4e3616c2 100644
(file)
--- a/
scripts/Makefile.kasan
+++ b/
scripts/Makefile.kasan
@@
-1,8
+1,6
@@
# SPDX-License-Identifier: GPL-2.0
-ifdef CONFIG_KASAN
CFLAGS_KASAN_NOSANITIZE := -fno-builtin
KASAN_SHADOW_OFFSET ?= $(CONFIG_KASAN_SHADOW_OFFSET)
-endif
ifdef CONFIG_KASAN_GENERIC