checkpatch false ERROR: trailing statements should be on next line
- From: Erez Zadok <ezk@xxxxxxxxxxxxx>
- Date: Tue, 25 Dec 2007 16:50:04 -0500
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 should be allowed (plus a comment isn't a
statement). It's often very useful to put them right on the affected line.
Thanks,
Erez.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: checkpatch false ERROR: trailing statements should be on next line
- From: Andy Whitcroft
- Re: checkpatch false ERROR: trailing statements should be on next line
- Prev by Date: Re: 2.6.24-rc4 hwmon it87 probe fails
- Next by Date: Re: 2.6.24-rc6-mm1
- Previous by thread: [PATCH] USB serial ftdi_sio - enabling multiple ELV devices, adding EM1010PC
- Next by thread: Re: checkpatch false ERROR: trailing statements should be on next line
- Index(es):