Messages in this thread Patch in this message | | | Date | Sun, 19 Jun 2005 21:42:56 +0200 (CEST) | From | Jesper Juhl <> | Subject | [PATCH] modules, small codingstyle cleanup, one statement/expression pr line |
| |
Small patch to make kernel/module.c a little more readable and a little more CodingStyle conforming.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> ---
kernel/module.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
--- linux-2.6.12-orig/kernel/module.c 2005-06-17 21:48:29.000000000 +0200 +++ linux-2.6.12/kernel/module.c 2005-06-19 21:24:26.000000000 +0200 @@ -1731,8 +1731,10 @@ static struct module *load_module(void _ kfree(args); free_hdr: vfree(hdr); - if (err < 0) return ERR_PTR(err); - else return ptr; + if (err < 0) + return ERR_PTR(err); + else + return ptr; truncated: printk(KERN_ERR "Module len %lu truncated\n", len);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |