projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d283d
)
checkpatch: remove %p4cn
author
Aditya Garg
<gargaditya08@live.com>
Wed, 30 Apr 2025 13:49:08 +0000
(19:19 +0530)
committer
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Tue, 6 May 2025 15:33:49 +0000
(11:33 -0400)
%p4cn was recently removed and replaced by %p4chR in vsprintf. So,
remove the check for %p4cn from checkpatch.pl.
Fixes:
37eed892cc5f
("vsprintf: Use %p4chR instead of %p4cn for reading data in reversed host ordering")
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>
Link:
https://lore.kernel.org/r/PN3PR01MB959760B89BF7E4B43852700CB8832@PN3PR01MB9597.INDPRD01.PROD.OUTLOOK.COM
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
scripts/checkpatch.pl
patch
|
blob
|
blame
|
history
diff --git
a/scripts/checkpatch.pl
b/scripts/checkpatch.pl
index 44e233b6f428ac26a121a063a396500e001ff5e4..d5bde8322f7b7a84b1782d970ea28f32bb9a0365 100755
(executable)
--- a/
scripts/checkpatch.pl
+++ b/
scripts/checkpatch.pl
@@
-6891,7
+6891,7
@@
sub process {
($extension eq "f" &&
defined $qualifier && $qualifier !~ /^w/) ||
($extension eq "4" &&
- defined $qualifier && $qualifier !~ /^c
[hnlbc]
/)) {
+ defined $qualifier && $qualifier !~ /^c
(?:[hlbc]|hR)$
/)) {
$bad_specifier = $specifier;
last;
}