From: Linus Torvalds Date: Thu, 5 Aug 2010 18:59:02 +0000 (-0600) Subject: module: refactor load_module part 2 X-Git-Tag: v2.6.36-rc1~549^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65b8a9b4d5525348e55cf63a43517610ee8e0970;p=pandora-kernel.git module: refactor load_module part 2 Here's a second one. It's slightly less trivial - since we now have error cases - and equally untested so it may well be totally broken. But it also cleans up a bit more, and avoids one of the goto targets, because the "move_module()" helper now does both allocations or none. Signed-off-by: Linus Torvalds Signed-off-by: Rusty Russell --- Reading git-diff-tree failed