mirror of https://github.com/FRRouting/frr.git
tools: remove Linux kernel bits from checkpatch
These aren't appropriate for use in FRR. Among other things, this enables running checkpatch by calling it in a git working tree with `tools/checkpatch.pl -g origin/master..` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
4d619e25ab
commit
7c1803d0a0
|
@ -1028,9 +1028,9 @@ sub top_of_kernel_tree {
|
|||
my ($root) = @_;
|
||||
|
||||
my @tree_check = (
|
||||
"COPYING", "CREDITS", "Kbuild", "MAINTAINERS", "Makefile",
|
||||
"README", "Documentation", "arch", "include", "drivers",
|
||||
"fs", "init", "ipc", "kernel", "lib", "scripts",
|
||||
"COPYING", "configure.ac", "Makefile.am",
|
||||
"README.md", "doc", "lib", "vtysh", "watchfrr", "tests",
|
||||
"zebra", "bgpd", "ospfd", "ospf6d", "isisd", "staticd",
|
||||
);
|
||||
|
||||
foreach my $check (@tree_check) {
|
||||
|
@ -2674,8 +2674,8 @@ sub process {
|
|||
(defined($1) || defined($2))))) {
|
||||
$is_patch = 1;
|
||||
$reported_maintainer_file = 1;
|
||||
WARN("FILE_PATH_CHANGES",
|
||||
"added, moved or deleted file(s), does MAINTAINERS need updating?\n" . $herecurr);
|
||||
#WARN("FILE_PATH_CHANGES",
|
||||
# "added, moved or deleted file(s), does MAINTAINERS need updating?\n" . $herecurr);
|
||||
}
|
||||
|
||||
# Check for wrappage within a valid hunk of the file
|
||||
|
|
Loading…
Reference in New Issue