Re: [PATCH 10/10] Fs: ext4: namei: fixed file of checkpatch/pl warnings and errors

From: Krzysztof Halasa
Date: Sun Sep 26 2010 - 02:36:50 EST


Tracey Dent <tdent48227@xxxxxxxxx> writes:

> + printk("%s%3u:%03u hash %8x/%8x ", levels ? "":" ", i, block, hash, range);
> + if (!(bh = ext4_bread(NULL,dir, block, 0,&err))) continue;

Put a SPACE after the comma. "continue" should usually be on the next
line. It doesn't make sense to fix the formatting only partially.


BTW I wouldn't trust checkpatch so blindly. Also keep in mind checkpatch
is only a tool and that maintainers have full authority to ignore the
problems (or "problems") it spews.
And I would merge all the changes (which make sense) and send them in
one patch - that should increase the odds of it actually being applied.
To be honest, fixing the style isn't an easy job.
--
Krzysztof Halasa
--
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/