Skip to contentSkip to conversation

lib-ubsanc-mark-type_check_kinds-with-static-keyword.patch removed from -mm tree

merged [email protected] 1 participant 1 message Dec 16, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: lib/ubsan.c: mark type_check_kinds with static keyword
has been removed from the -mm tree. Its filename was
lib-ubsanc-mark-type_check_kinds-with-static-keyword.patch

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

------------------------------------------------------
From: Zou Wei <[email protected]>
Subject: lib/ubsan.c: mark type_check_kinds with static keyword

Fix the following sparse warning:

lib/ubsan.c:20:12: warning: symbol 'type_check_kinds' was not declared. Should it be static?

---

 lib/ubsan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/ubsan.c renamed from lib/ubsan.c~lib-ubsanc-mark-type_check_kinds-with-static-keyword +1 -1
@@ -17,7 +17,7 @@
 
 #include "ubsan.h"
 
-const char *type_check_kinds[] = {
+static const char * const type_check_kinds[] = {
 	"load of",
 	"store to",
 	"reference binding to",

_

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