lkml.org 
[lkml]   [2010]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] drivers/net/qla3xxx.c: Checkpatch cleanups
From
From: Joe Perches <joe@perches.com>
Date: Thu, 22 Jul 2010 18:36:17 -0700

> Remove typedefs
> Indentation and spacing
> Use a temporary for a very long pointer variable
> More 80 column compatible
> Convert a switch to if/else if
>
> Compile tested only, depends on patch "Update logging message style"
>
> (old)
> $ scripts/checkpatch.pl -f drivers/net/qla3xxx.c | grep "^total:"
> total: 209 errors, 82 warnings, 3995 lines checked
>
> (new)
> $ scripts/checkpatch.pl -f drivers/net/qla3xxx.c | grep "^total:"
> total: 2 errors, 0 warnings, 3970 lines checked
>
> $ size drivers/net/qla3xxx.o.*
> text data bss dec hex filename
> 50413 212 13864 64489 fbe9 drivers/net/qla3xxx.o.old
> 49959 212 13728 63899 f99b drivers/net/qla3xxx.o.new
>
> Signed-off-by: Joe Perches <joe@perches.com>

Also applied, thanks Joe.


\
 
 \ /
  Last update: 2010-07-26 07:05    [W:0.050 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site