Skip to contentSkip to conversation

lib-test_lockupc-make-symbol-test_works-static.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 12, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: lib/test_lockup.c: make symbol 'test_works' static
has been removed from the -mm tree. Its filename was
lib-test_lockupc-make-symbol-test_works-static.patch

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

------------------------------------------------------
From: Wei Yongjun <[email protected]>
Subject: lib/test_lockup.c: make symbol 'test_works' static

Fix sparse build warning:

lib/test_lockup.c:403:1: warning:
symbol '__pcpu_scope_test_works' was not declared. Should it be static?

---

 lib/test_lockup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/test_lockup.c renamed from lib/test_lockup.c~lib-test_lockupc-make-symbol-test_works-static +1 -1
@@ -400,7 +400,7 @@ static void test_lockup(bool master)
 	test_unlock(master, true);
 }
 
-DEFINE_PER_CPU(struct work_struct, test_works);
+static DEFINE_PER_CPU(struct work_struct, test_works);
 
 static void test_work_fn(struct work_struct *work)
 {

_

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