mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 21:51:31 +00:00
checkpatch.pl: Add 'debug' to the list of logFunctions
While the kernel mainly uses pr_debug(...), etc, for debug messages, we use debug(...). Add this to the list of logFunctions so that they are correctly checked (and not warned against) for long string literals. Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
268d966dff
commit
0cab42110d
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ our $logFunctions = qr{(?x:
|
||||||
[a-z0-9]+_(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)|
|
[a-z0-9]+_(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)|
|
||||||
WARN(?:_RATELIMIT|_ONCE|)|
|
WARN(?:_RATELIMIT|_ONCE|)|
|
||||||
panic|
|
panic|
|
||||||
|
debug|
|
||||||
MODULE_[A-Z_]+
|
MODULE_[A-Z_]+
|
||||||
)};
|
)};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue