Skip to content

Commit 4249cb7

Browse files
Huilong Dengpmladek
authored andcommitted
printk: Remove trailing semicolon in macros
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>
1 parent 7f3d08b commit 4249cb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/dev_printk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ do { \
236236
* using WARN/WARN_ONCE to include file/line information and a backtrace.
237237
*/
238238
#define dev_WARN(dev, format, arg...) \
239-
WARN(1, "%s %s: " format, dev_driver_string(dev), dev_name(dev), ## arg);
239+
WARN(1, "%s %s: " format, dev_driver_string(dev), dev_name(dev), ## arg)
240240

241241
#define dev_WARN_ONCE(dev, condition, format, arg...) \
242242
WARN_ONCE(condition, "%s %s: " format, \

0 commit comments

Comments
 (0)