mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
tools: checkpatch: Restore 'debug' and 'printf' to logFunctions list
The 'debug' and 'printf' functions were previously added to the list of logFunctions in commit0cab42110d
("checkpatch.pl: Add 'debug' to the list of logFunctions") and commit397bfd4642
("checkpatch.pl: Add 'printf' to logFunctions") but these additions were lost when newer versions of checkpatch were pulled in from the upstream Linux kernel version. This restores them so that you don't end up in a situation where checkpatch will give a warning for "quoted string split across lines" which you cannot fix without getting a warning for "line over 80 characters" instead. Signed-off-by: James Byrne <james.byrne@origamienergy.com>
This commit is contained in:
parent
af77162504
commit
66b3ccc8f7
1 changed files with 2 additions and 0 deletions
|
@ -464,6 +464,8 @@ our $logFunctions = qr{(?x:
|
|||
TP_printk|
|
||||
WARN(?:_RATELIMIT|_ONCE|)|
|
||||
panic|
|
||||
debug|
|
||||
printf|
|
||||
MODULE_[A-Z_]+|
|
||||
seq_vprintf|seq_printf|seq_puts
|
||||
)};
|
||||
|
|
Loading…
Add table
Reference in a new issue