summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-12-31 11:58:07 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-12-31 11:58:07 +0300
commit639136d2a70ab9837befb22ad5b3d67cb4db2216 (patch)
tree64e7d426cf7b7ffdce6798986c63dcdfe025c53d /scripts/checkpatch.pl
parent017fc4f6f4b7b70e443e7ef673732517ece111c8 (diff)
parentac5b85de17cb96445c51bd1a1c53c3f675582f26 (diff)
downloadlinux-639136d2a70ab9837befb22ad5b3d67cb4db2216.tar.xz
Merge branch 'i2c-mux/for-next' of https://github.com/peda-r/i2c-mux into i2c/for-4.16
"A couple of patches this time. Just some more compatibles for the pca954x driver and an error handling tweak for the reg driver."
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 95cda3ecc66b..040aa79e1d9d 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -5753,7 +5753,7 @@ sub process {
for (my $count = $linenr; $count <= $lc; $count++) {
my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0));
$fmt =~ s/%%//g;
- if ($fmt =~ /(\%[\*\d\.]*p(?![\WFfSsBKRraEhMmIiUDdgVCbGNO]).)/) {
+ if ($fmt =~ /(\%[\*\d\.]*p(?![\WFfSsBKRraEhMmIiUDdgVCbGNOx]).)/) {
$bad_extension = $1;
last;
}