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>
This commit is contained in:
committed by
Petr Mladek
parent
7f3d08b255
commit
4249cb7d92
@@ -236,7 +236,7 @@ do { \
|
|||||||
* using WARN/WARN_ONCE to include file/line information and a backtrace.
|
* using WARN/WARN_ONCE to include file/line information and a backtrace.
|
||||||
*/
|
*/
|
||||||
#define dev_WARN(dev, format, arg...) \
|
#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...) \
|
#define dev_WARN_ONCE(dev, condition, format, arg...) \
|
||||||
WARN_ONCE(condition, "%s %s: " format, \
|
WARN_ONCE(condition, "%s %s: " format, \
|
||||||
|
|||||||
Reference in New Issue
Block a user