Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1192547
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH] checkpatch: Make --strict the default for drivers/staging files and patches |
| Date | 2015-07-26 21:50 +0200 |
| Message-ID | <pQA5P-4gD-7@gated-at.bofh.it> (permalink) |
| References | <pQauK-1mf-5@gated-at.bofh.it> <pQauK-1mf-3@gated-at.bofh.it> <pQzCO-3IG-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Making --strict the default for staging may help some people
submit patches without obvious defects.
Signed-off-by: Joe Perches <joe@perches.com>
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 34ca400..50693f5 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2174,7 +2174,7 @@ sub process {
}
if ($found_file) {
- if ($realfile =~ m@^(drivers/net/|net/)@) {
+ if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
$check = 1;
} else {
$check = $check_orig;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] staging: lustre: fixed comments without */ on a separate line Mario Bambagini <mario.bambagini@gmail.com> - 2015-07-25 18:30 +0200
[PATCH 2/2] staging: lustre: fixed 80-char rule Mario Bambagini <mario.bambagini@gmail.com> - 2015-07-25 18:30 +0200
Re: [PATCH 2/2] staging: lustre: fixed 80-char rule Dan Carpenter <dan.carpenter@oracle.com> - 2015-07-26 21:20 +0200
[RFC PATCH] checkpatch: Make --strict the default for drivers/staging files and patches Joe Perches <joe@perches.com> - 2015-07-26 21:50 +0200
Re: [RFC PATCH] checkpatch: Make --strict the default for drivers/staging files and patches Dan Carpenter <dan.carpenter@oracle.com> - 2015-07-27 11:30 +0200
csiph-web