summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
47c49d3)
Add a warning to checkpatch.pl to warn on likely uses of GPLv3
headers.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I5fc48c9aa7495d949734db432b6a0b413379e99f
Reviewed-on: http://review.whamcloud.com/14863
Tested-by: Jenkins
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
WARN("EXPORTED_WORLD_WRITABLE",
"Exporting world writable files is usually an error. Consider more restrictive permissions.\n" . $herecurr);
}
WARN("EXPORTED_WORLD_WRITABLE",
"Exporting world writable files is usually an error. Consider more restrictive permissions.\n" . $herecurr);
}
+
+ if ($rawline =~ /version 3/) {
+ WARN("GPLV3",
+ "using GPLv3 is usually wrong\n" . $herecurr);
+ }
}
# If we have no input at all, then there is nothing to report on
}
# If we have no input at all, then there is nothing to report on