Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43450 )
Change subject: Documentation: Update checkpatch.pl mentions to designate 96 columns ......................................................................
Documentation: Update checkpatch.pl mentions to designate 96 columns
We typically call checkpatch.pl through make lint which properly adds the option to tell checkpatch that our lines may be 96 columns long.
However there's one mention of calling checkpatch directly and that confuses people with complaints about overly long lines that exceed 80 columns.
Change-Id: If21e925d2d2394c876724a44b0e23c9b2744c56b Signed-off-by: Patrick Georgi pgeorgi@google.com --- M Documentation/tutorial/part2.md 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/43450/1
diff --git a/Documentation/tutorial/part2.md b/Documentation/tutorial/part2.md index 5ab210a..c55f35c 100644 --- a/Documentation/tutorial/part2.md +++ b/Documentation/tutorial/part2.md @@ -109,7 +109,8 @@ if you want to run `make lint` on a specific directory, run:
for file in $(git ls-files | grep <filepath>); do \ - util/lint/checkpatch.pl --file $file --terse; done + util/lint/checkpatch.pl --max-line-length 96 --file $file --terse; \ + done
where `filepath` is the filepath of the directory (ex. `src/cpu/amd/car`).