scripts: allow lines longer than 80 cols with printf() in checkpatch
The checkpatch.pl script is also used to validate user-space code in the scripts/ directory, so it should allow printf() lines to be longer than 80 columns. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
88a012b9e1
commit
9e809ef431
|
@ -209,7 +209,7 @@ our $typeTypedefs = qr{(?x:
|
|||
)};
|
||||
|
||||
our $logFunctions = qr{(?x:
|
||||
printk|
|
||||
printk|printf|
|
||||
pr_(debug|dbg|vdbg|devel|info|warning|err|notice|alert|crit|emerg|cont)|
|
||||
(dev|netdev|netif)_(printk|dbg|vdbg|info|warn|err|notice|alert|crit|emerg|WARN)|
|
||||
WARN|
|
||||
|
|
Loading…
Reference in New Issue