From: Huilong Deng Date: Sun, 20 Jun 2021 14:29:15 +0000 (+0800) Subject: printk: Remove trailing semicolon in macros X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4249cb7d920060dfa925d3b9f6a37f0a7c025a16;p=linux.git printk: Remove trailing semicolon in macros Macros should not use a trailing semicolon. Signed-off-by: Huilong Deng Reviewed-by: Petr Mladek Signed-off-by: Petr Mladek --- diff --git a/include/linux/dev_printk.h b/include/linux/dev_printk.h index 6f009559ee540..82d3d46005a14 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, \