projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3d08b
)
printk: Remove trailing semicolon in macros
author
Huilong Deng
<denghuilong@cdjrlc.com>
Sun, 20 Jun 2021 14:29:15 +0000
(22:29 +0800)
committer
Petr Mladek
<pmladek@suse.com>
Mon, 21 Jun 2021 09:22:05 +0000
(11:22 +0200)
Macros should not use a trailing semicolon.
Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
include/linux/dev_printk.h
patch
|
blob
|
history
diff --git
a/include/linux/dev_printk.h
b/include/linux/dev_printk.h
index
6f00955
..
82d3d46
100644
(file)
--- a/
include/linux/dev_printk.h
+++ b/
include/linux/dev_printk.h
@@
-236,7
+236,7
@@
do { \
* using WARN/WARN_ONCE to include file/line information and a backtrace.
*/
#define dev_WARN(dev, format, arg...) \
- WARN(1, "%s %s: " format, dev_driver_string(dev), dev_name(dev), ## arg)
;
+ WARN(1, "%s %s: " format, dev_driver_string(dev), dev_name(dev), ## arg)
#define dev_WARN_ONCE(dev, condition, format, arg...) \
WARN_ONCE(condition, "%s %s: " format, \