2015-07-25 09:51:21

by Incarnation P. Lee

[permalink] [raw]
Subject: [PATCH 5/5] staging: lustre: Adjust code indent for macro.

From: "Pan Li" <[email protected]>

Adjust code indent for macro, within tabs at the start and space in front of '\' for indent.
Signed-off-by: Pan Li <[email protected]>
---
drivers/staging/lustre/lustre/obdclass/cl_page.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c b/drivers/staging/lustre/lustre/obdclass/cl_page.c
index 4cc17d3..428c6b2 100644
--- a/drivers/staging/lustre/lustre/obdclass/cl_page.c
+++ b/drivers/staging/lustre/lustre/obdclass/cl_page.c
@@ -51,12 +51,12 @@
static void cl_page_delete0(const struct lu_env *env, struct cl_page *pg,
int radix);

-# define PASSERT(env, page, expr) \
- do { \
- if (unlikely(!(expr))) { \
- CL_PAGE_DEBUG(D_ERROR, (env), (page), #expr "\n"); \
- LASSERT(0); \
- } \
+# define PASSERT(env, page, expr) \
+ do { \
+ if (unlikely(!(expr))) { \
+ CL_PAGE_DEBUG(D_ERROR, (env), (page), #expr "\n"); \
+ LASSERT(0); \
+ } \
} while (0)

# define PINVRNT(env, page, exp) \
--
1.9.0