Skip to contentSkip to conversation

ipc-shm-make-compat_ksys_shmctl-static.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 8, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: ipc/shm.c: make compat_ksys_shmctl() static
has been removed from the -mm tree. Its filename was
ipc-shm-make-compat_ksys_shmctl-static.patch

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

------------------------------------------------------
From: Jason Yan <[email protected]>
Subject: ipc/shm.c: make compat_ksys_shmctl() static

Fix the following sparse warning:

ipc/shm.c:1335:6: warning: symbol 'compat_ksys_shmctl' was not declared. Should it be static?

---

 ipc/shm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ipc/shm.c renamed from ipc/shm.c~ipc-shm-make-compat_ksys_shmctl-static +1 -1
@@ -1332,7 +1332,7 @@ static int copy_compat_shmid_from_user(s
 	}
 }
 
-long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version)
+static long compat_ksys_shmctl(int shmid, int cmd, void __user *uptr, int version)
 {
 	struct ipc_namespace *ns;
 	struct shmid64_ds sem64;

_

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