Skip to contentSkip to conversation

+ mm-process_vm_accessc-mark-function-as-static.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Feb 7, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + mm-process_vm_accessc-mark-function-as-static.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 07 Feb 2014 14:31:27 -0800

The patch titled
Subject: mm/process_vm_access.c: mark function as static
has been added to the -mm tree. Its filename is
mm-process_vm_accessc-mark-function-as-static.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-process_vm_accessc-mark-function-as-static.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-process_vm_accessc-mark-function-as-static.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Rashika Kheria <[email protected]>
Subject: mm/process_vm_access.c: mark function as static

Mark function as static in process_vm_access.c because it is not used outside this file.

This eliminates the following warning in mm/process_vm_access.c:
mm/process_vm_access.c:416:1: warning: no previous prototype for `compat_process_vm_rw' [-Wmissing-prototypes]

---

 mm/process_vm_access.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/process_vm_access.c renamed from mm/process_vm_access.c~mm-process_vm_accessc-mark-function-as-static +1 -1
diff -puN mm/process_vm_access.c~mm-process_vm_accessc-mark-function-as-static mm/process_vm_access.c
@@ -412,7 +412,7 @@ SYSCALL_DEFINE6(process_vm_writev, pid_t
 
 #ifdef CONFIG_COMPAT
 
-asmlinkage ssize_t
+static asmlinkage ssize_t
 compat_process_vm_rw(compat_pid_t pid,
 		     const struct compat_iovec __user *lvec,
 		     unsigned long liovcnt,

_

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

mm-compactionc-mark-function-as-static.patch mm-memoryc-mark-functions-as-static.patch mm-mmapc-mark-function-as-static.patch mm-process_vm_accessc-mark-function-as-static.patch mm-page_cgroupc-mark-functions-as-static.patch mm-nobootmemc-mark-function-as-static.patch include-linux-mmh-remove-ifdef-condition.patch