Skip to contentSkip to conversation

kasan-make-function-get_wild_bug_type-static.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 11, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: kasan: make get_wild_bug_type() static
has been removed from the -mm tree. Its filename was
kasan-make-function-get_wild_bug_type-static.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Colin Ian King <[email protected]>
Subject: kasan: make get_wild_bug_type() static

The helper function get_wild_bug_type() does not need to be in global scope, so make it static.

Cleans up sparse warning:
"symbol 'get_wild_bug_type' was not declared. Should it be static?"

---

 mm/kasan/report.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/kasan/report.c renamed from mm/kasan/report.c~kasan-make-function-get_wild_bug_type-static +1 -1
diff -puN mm/kasan/report.c~kasan-make-function-get_wild_bug_type-static mm/kasan/report.c
@@ -107,7 +107,7 @@ static const char *get_shadow_bug_type(s
 	return bug_type;
 }
 
-const char *get_wild_bug_type(struct kasan_access_info *info)
+static const char *get_wild_bug_type(struct kasan_access_info *info)
 {
 	const char *bug_type = "unknown-crash";
 

_

Patches currently in -mm which might be from [email protected] are