Staging: lustre: include: linux: libcfs: Remove unnecessary semicolon
PATCH 1/1 Staging: lustre: include: linux: libcfs: Remove unnecessary semicolon
This fixes the checkpatch.pl warning:
WARNING: macros should not use a trailing semicolon.
Signed-off-by Melike Yurtoglu <[email protected]>
--- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h +2 -2
@@ -195,8 +195,8 @@ do { \ .msg_file = __FILE__, \ .msg_fn = __func__, \ .msg_line = __LINE__, \ - .msg_cdls = (cdls) }; \ - dataname.msg_mask = (mask); + .msg_cdls = (cdls) } \ + dataname.msg_mask = (mask)/** * Filters out logging messages based on mask and subsystem.
Signature · 1 line
1.8.3.2
Greg KH
maintainerQuoted 13 lines · Melike Yurtoglu
This fixes the checkpatch.pl warning:
WARNING: macros should not use a trailing semicolon.Signed-off-by Melike Yurtoglu <[email protected]>--- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h +0
-0
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h do { \ · line 202
Quoted 10 lines
drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h +2
-2@@ -195,8 +195,8 @@ do { \ .msg_file = __FILE__, \ .msg_fn = __func__, \ .msg_line = __LINE__, \ - .msg_cdls = (cdls) }; \ - dataname.msg_mask = (mask); + .msg_cdls = (cdls) } \ + dataname.msg_mask = (mask)/** * Filters out logging messages based on mask and subsystem.
This patch is not correct at all, did you try to build the driver after making it? Please _always_ test build your patches.
thanks,
greg k-h