Re: [PATCH] checkpatch: do not exit in main process subroutine

2013-03-31 Thread Joe Perches
On Sat, 2013-03-30 at 18:30 +0800, zhangwei(Jovi) wrote: > On 2013/3/28 11:43, zhangwei(Jovi) wrote: > > Currently checkpatch program exit when process empty file, > > This will cause issue when @ARGV include many files ready to check. [] > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.

Re: [PATCH] checkpatch: do not exit in main process subroutine

2013-03-30 Thread Joe Perches
On Sat, 2013-03-30 at 18:30 +0800, zhangwei(Jovi) wrote: > On 2013/3/28 11:43, zhangwei(Jovi) wrote: > > Currently checkpatch program exit when process empty file, > > This will cause issue when @ARGV include many files ready to check. > > > > For example, there may have Module.symvers empty file

Re: [PATCH] checkpatch: do not exit in main process subroutine

2013-03-30 Thread zhangwei(Jovi)
On 2013/3/28 11:43, zhangwei(Jovi) wrote: > Currently checkpatch program exit when process empty file, > This will cause issue when @ARGV include many files ready to check. > > For example, there may have Module.symvers empty file in kernel directory. > > [root@jovi ~]# scripts/checkpatch.pl -f k

[PATCH] checkpatch: do not exit in main process subroutine

2013-03-27 Thread zhangwei(Jovi)
Currently checkpatch program exit when process empty file, This will cause issue when @ARGV include many files ready to check. For example, there may have Module.symvers empty file in kernel directory. [root@jovi ~]# scripts/checkpatch.pl -f kernel/* then many file "after" empty file will not be