23 Nov, 2019
1 commit
-
The 'debug' and 'printf' functions were previously added to the list of
logFunctions in commit 0cab42110dbf ("checkpatch.pl: Add 'debug' to
the list of logFunctions") and commit 397bfd4642c1 ("checkpatch.pl:
Add 'printf' to logFunctions") but these additions were lost when newer
versions of checkpatch were pulled in from the upstream Linux
kernel version.This restores them so that you don't end up in a situation where
checkpatch will give a warning for "quoted string split across lines"
which you cannot fix without getting a warning for "line over 80
characters" instead.Signed-off-by: James Byrne
31 Oct, 2019
1 commit
-
Update from upstream.
Just minor changes like checking that the author has also done a sign-off.
Signed-off-by: Heinrich Schuchardt
11 Apr, 2018
1 commit
-
Update scripts/checkpatch.pl from upstream.
One of the many corrections is not creating an error for cover-letters.
Reintroduce U-Boot's
5c761ce58666b3a1695697498598f8bf3484a0c7
checkpatch.pl: Add warning for new __packed additionsSigned-off-by: Heinrich Schuchardt
29 Oct, 2017
1 commit
-
Allow prefixing typical strings with L for wide strings
Patch originally by Joe Perches
https://lkml.org/lkml/2017/10/17/1117Signed-off-by: Joe Perches
Signed-off-by: Heinrich Schuchardt
15 Sep, 2017
2 commits
-
While there are valid reasons to use __packed, often the answer is that
you should be doing something else here instead.This reintroduces the changes of
f503cc49a570 (Add warning for new __packed additions)Signed-off-by: Heinrich Schuchardt
-
Checkpatch produces the following warning:
Unescaped left brace in regex is deprecated here
(and will be fatal in Perl 5.30), passed through in regex;
marked by
09 Feb, 2017
1 commit
-
Pick commit 66b47b4a9dad0 checkpatch: look for common misspellings
from the Linux kernel for spelling check from Kees CookIn addition pulled in additional changes
commit ebfd7d6237531 checkpatch: add optional --codespell dictionary to find more typos
from the Linux kernel for codespell from Joe Perchescommit f1a63678554f8 checkpatch: remove local from codespell path
from the Linux kernel for dictionary path from Maxim UvarovSigned-off-by: Dan Murphy
Reviewed-by: Tom Rini
07 Oct, 2016
1 commit
-
Fix various misspellings of:
* deprecated
* partition
* preceding,preceded
* preparation
* its versus it's
* export
* existing
* scenario
* redundant
* remaining
* value
* architectureSigned-off-by: Robert P. J. Day
Reviewed-by: Jagan Teki
Reviewed-by: Stefan Roese
05 Jan, 2016
1 commit
-
using checkpatch with Perl 5.22.0 generates a warning,
this is fixed in linux through commit:commit 4e5d56bdf892e18832a6540b63ebf709966bce2a
Author: Eddie Kovsky
Date: Wed Sep 9 15:37:52 2015 -0700checkpatch: fix left brace warning
Using checkpatch.pl with Perl 5.22.0 generates the following warning:
Unescaped left brace in regex is deprecated, passed through in regex;
This patch fixes the warnings by escaping occurrences of the left brace
inside the regular expression.Adapt it for U-Boot.
Signed-off-by: Heiko Schocher
25 Sep, 2014
1 commit
-
Pick the following commit from Linux kernel:
commit 66cb4ee0e52ca721f609fd5eec16187189ae5fda
Author: Joe Perches
Date: Wed Sep 10 09:40:47 2014 +1000checkpatch: remove unnecessary + after {8,8}
There's a useless "+" use that needs to be removed as perl 5.20 emits a
"Useless use of greediness modifier '+'" message each time it's hit.Signed-off-by: Marek Vasut
Cc: Tom Rini
05 Mar, 2014
1 commit
-
Update to v3.14-rc4's version of checkpatch.pl. In doing so we drop the
changes to top_of_kernel_tree() as we pass in --no-tree and drop our
changes about MAINTAINERS as that's for reporting checkpatch.pl problems
itself (and upstream has said they'll reword this section to be
clearer).Signed-off-by: Tom Rini
27 Feb, 2014
1 commit
-
While there are valid reasons to use __packed, often the answer is that
you should be doing something else here instead.Signed-off-by: Tom Rini
13 Dec, 2013
1 commit
-
We have some scripts imported from Linux Kernel:
setlocalversion, checkstack.pl, checkpatch.pl, cleanpatchThey are located under tools/ directory in U-Boot now.
But they were originally located under scripts/ directory
in Linux Kernel.This commit moves them to the original location.
It is true that binutils-version.sh and dtc-version.sh
do not originate in Linux Kernel, but they should
be moved by analogy to gcc-version.sh.Signed-off-by: Masahiro Yamada