Hi Lizardo, On Fri, Sep 28, 2012, Anderson Lizardo wrote: > On Fri, Sep 28, 2012 at 7:08 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > > Btw, if you guys are wondering why the stricter coding style checks, > > I've added the following to .git/hooks/pre-{commit,applypatch}: > > > > git diff --cached | ~/src/linux/scripts/checkpatch.pl --no-signoff --ignore INITIALISED_STATIC,NEW_TYPEDEFS,VOLATILE --show-types --mailback - > > > > You might want to do the same (with the correct path to checkpatch.pl)). > > And thanks to Luiz for the idea (he's using the same when applying > > patches). > > Thanks for the very useful tip! But which checkpatch.pl version are > you using? Mine (from bluetooth-next tree) lacks --ignore and > --show-types options. I'm using Linus' tree. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html