commit | f5eea3b0442da801404859a780c02721d649f02f | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Dec 15 20:45:24 2020 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Dec 15 22:46:17 2020 -0800 |
tree | d65e17aac3c9466644087feadf593bb6dff14adc | |
parent | 7da07c31b1df1fa973d184378862443302fd1129 [diff] |
checkpatch: add printk_once and printk_ratelimit to prefer pr_<level> warning Add the _once and _ratelimited variants to the test for printk(KERN_<LEVEL> that should prefer pr_<level>. Miscellanea: o Add comment description for the conversions [joe@perches.com: fixlet] Link: https://lkml.kernel.org/r/32260871d4718ba7f48a8e9e07452bb76de300db.camel@perches.comLink: https://lkml.kernel.org/r/993b72b2ef91a57c5e725b52971ce3fd31375061.camel@perches.com Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>