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 <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
1 parent 7f3d08b commit 4249cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)