[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <109b0da96b67ae70145433b585ada631a5f7c668.1466279901.git.craig@craiginches.com>
Date: Sat, 18 Jun 2016 22:25:55 +0100
From: Craig Inches <craig@...iginches.com>
To: Oleg Drokin <oleg.drokin@...el.com>,
Andreas Dilger <andreas.dilger@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: lustre-devel@...ts.lustre.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/3] staging: luster: Checkpatch Cleanup
Macros with complex values should be enclosed in parenthesis
Signed-off-by: Craig Inches <craig@...iginches.com>
---
drivers/staging/lustre/lustre/include/cl_object.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/include/cl_object.h b/drivers/staging/lustre/lustre/include/cl_object.h
index 3004625..712355a 100644
--- a/drivers/staging/lustre/lustre/include/cl_object.h
+++ b/drivers/staging/lustre/lustre/include/cl_object.h
@@ -1207,8 +1207,8 @@ struct cl_lock_descr {
#define DDESCR "%s(%d):[%lu, %lu]:%x"
#define PDESCR(descr) \
- cl_lock_mode_name((descr)->cld_mode), (descr)->cld_mode, \
- (descr)->cld_start, (descr)->cld_end, (descr)->cld_enq_flags
+ (cl_lock_mode_name((descr)->cld_mode), (descr)->cld_mode, \
+ (descr)->cld_start, (descr)->cld_end, (descr)->cld_enq_flags)
const char *cl_lock_mode_name(const enum cl_lock_mode mode);
--
2.7.3
Powered by blists - more mailing lists