aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuilong Deng <[email protected]>2021-06-20 22:29:15 +0800
committerPetr Mladek <[email protected]>2021-06-21 11:22:05 +0200
commit4249cb7d920060dfa925d3b9f6a37f0a7c025a16 (patch)
tree8d1c923be7a426580aa9b62a547afbada24a3177
parent7f3d08b255d1806502e45fe70ca2ba9646eb3aa1 (diff)
printk: Remove trailing semicolon in macros
Macros should not use a trailing semicolon. Signed-off-by: Huilong Deng <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
-rw-r--r--include/linux/dev_printk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dev_printk.h b/include/linux/dev_printk.h
index 6f009559ee54..82d3d46005a1 100644
--- 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, \