Re: [PATCH] staging: pi433: Make rf69_set_dc_cut_off_frequency_intern static

From: Joe Perches
Date: Sat Dec 02 2017 - 13:05:29 EST


On Sat, 2017-12-02 at 19:15 +0200, Marcus Wolf wrote:
> Can you give me a hint, how to invoke the checkpatch.pl.

There are lots of ways.

I suggest reading the output of $ ./scripts/checkpatch.pl --help

For instance:

[ after the fact checking ]

$ git checkout -b <branch>
[ commit one or more changes ]
$ git format-patch -<count_of_commits> -o <directory>
$ ./scripts/checkpatch.pl <directory>/*

[ or pipe git diff output to checkpatch ]

$ git checkout -b <branch>
[ edit files and save changes ]
$ git diff --stat -p | ./scripts/checkpatch.pl

[ or run checkpatch on a particular commit ]

$ ./scripts/checkpatch -g <commit>

[ or run checkpatch.pl on a range of commits ]

$ ./scripts/checkpatch.pl -g <rev1..rev2>