[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1512237905.6321.26.camel@perches.com>
Date: Sat, 02 Dec 2017 10:05:05 -0800
From: Joe Perches <joe@...ches.com>
To: Marcus Wolf <marcus.wolf@...rthome-wolf.de>,
Marcus Wolf <linux@...f-entwicklungen.de>,
gregkh@...uxfoundation.org, dan.carpenter@...cle.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: pi433: Make
rf69_set_dc_cut_off_frequency_intern static
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>
Powered by blists - more mailing lists