+ drivers-mtd-chips-gen_probec-refactor-call-to-request_module.patch added to -mm tree
Subject: + drivers-mtd-chips-gen_probec-refactor-call-to-request_module.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 23 May 2013 15:52:00 -0700
The patch titled
Subject: drivers/mtd/chips/gen_probe.c: refactor call to request_module()
has been added to the -mm tree. Its filename is
drivers-mtd-chips-gen_probec-refactor-call-to-request_module.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: Kees Cook <[email protected]>
Subject: drivers/mtd/chips/gen_probe.c: refactor call to request_module()
This reduces the size of the stack frame when calling request_module(). Performing the sprintf before the call is not needed.
---
drivers/mtd/chips/gen_probe.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/mtd/chips/gen_probe.c renamed from drivers/mtd/chips/gen_probe.c~drivers-mtd-chips-gen_probec-refactor-call-to-request_module +1 -3
@@ -211,9 +211,7 @@ static inline struct mtd_info *cfi_cmdse probe_function =__symbol_get (probename);if (!probe_function) { -char modname[sizeof ("cfi_cmdset_%4.4X" )]; -sprintf (modname,"cfi_cmdset_%4.4X" , type); -request_module (modname); +request_module ("cfi_cmdset_%4.4X" , type); probe_function =__symbol_get (probename); }
_
Patches currently in -mm which might be from [email protected] are
kmsg-honor-dmesg_restrict-sysctl-on-dev-kmsg.patch kmsg-honor-dmesg_restrict-sysctl-on-dev-kmsg-fix.patch drivers-mtd-chips-gen_probec-refactor-call-to-request_module.patch binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch