From d58ae67813ff97030d2f47ff7d1e5f54e5d7c5b3 Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Tue, 16 Oct 2007 23:30:27 -0700 Subject: [PATCH] module: return error when mod_sysfs_init() failed load_module() returns zero when mod_sysfs_init() fails, then the module loading will succeed accidentally. This patch makes load_module() return error correctly in that case. Acked-by: Greg Kroah-Hartman Acked-by: Rusty Russell Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed