Re: checkpatch false ERROR: trailing statements should be on next line

2007-12-26 Thread Andy Whitcroft
On Tue, Dec 25, 2007 at 04:50:04PM -0500, Erez Zadok wrote: > Using v2.6.24-rc6-125-g5356f66, code such as this: > > if (is_file)/* dirs can be unlinked but chdir'ed to */ > err = -ESTALE; > > produces this false checkpatch error: > > foo.c:947: ERROR: trailing stat

checkpatch false ERROR: trailing statements should be on next line

2007-12-25 Thread Erez Zadok
Using v2.6.24-rc6-125-g5356f66, code such as this: if (is_file)/* dirs can be unlinked but chdir'ed to */ err = -ESTALE; produces this false checkpatch error: foo.c:947: ERROR: trailing statements should be on next line I think comments such as the above shou