14 Mar
2014
14 Mar
'14
11:23 a.m.
On Fri, Mar 14, 2014 at 09:31:44AM +0100, Lars-Peter Clausen wrote:
On 03/14/2014 09:09 AM, Jyri Sarha wrote:
/me has added one more thing to his patch sending check list.
What I typically try to do before submitting a patch is run
make C=2 .../driver.o make C=2 CHECK=scripts/coccicheck .../driver.o make C=2 CHECK="smatch --full-path -p=kernel" .../driver.o
that will typically catch these little mistakes. Also of course scripts/checkpatch.pl on the patch itself.
Make sure you're running against the latest development code when you do this too.