powerpc: Add a checkpatch wrapper with our preferred settings
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Jul 2018 14:03:46 +0000 (00:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Aug 2018 11:49:25 +0000 (21:49 +1000)
commit7cd129b4b5370030a5c0b8031a54b2d1d92fa546
tree7123f3ce53aa0b0a50629c583cbc5a77fb7e4eac
parent4da1f79227ad42550e3e70e7b4812ec019be3b6e
powerpc: Add a checkpatch wrapper with our preferred settings

This makes it easy to run checkpatch with settings that I like.

Usage is eg:

  $ ./arch/powerpc/tools/checkpatch.sh -g origin/master..

To check all commits since origin/master.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Russell Currey <ruscur@russell.cc>
arch/powerpc/tools/checkpatch.sh [new file with mode: 0755]