Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1425856
| From | Craig Inches <craig@craiginches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/3] staging: luster: Checkpatch Cleanup |
| Date | 2016-06-18 23:30 +0200 |
| Message-ID | <rLvYt-14U-7@gated-at.bofh.it> (permalink) |
| References | <rLvYt-14U-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Macros with complex values should be enclosed in parenthesis
Signed-off-by: Craig Inches <craig@craiginches.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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 2/3] staging: luster: Checkpatch Cleanup Craig Inches <craig@craiginches.com> - 2016-06-18 23:30 +0200
Re: [PATCH 2/3] staging: luster: Checkpatch Cleanup Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-06-19 04:10 +0200
Re: [PATCH 2/3] staging: luster: Checkpatch Cleanup Craig Inches <xayto@xayto.net> - 2016-06-19 22:00 +0200
csiph-web