]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/mtd/chips/gen_probe.c: refactor call to request_module()
authorKees Cook <keescook@chromium.org>
Thu, 27 Jun 2013 23:51:01 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:14 +0000 (16:37 +1000)
commit014846b1c36d73938570f354697cb5dcd5e12648
tree63d05d4ef68ad2339f6aa9d19e8f543f299bcda1
parent529cfba7cf658c585364bac49678fe4866c4b502
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.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mtd/chips/gen_probe.c