lkml.org 
[lkml]   [2005]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-06-19 21:41    [W:0.043 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site