fixed some checkpatch below error.
-ERROR: Macros with complex values should be enclosed in parenthesis

Signed-off-by: Toshiaki Yamane <[email protected]>
---
 drivers/staging/rts_pstor/trace.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rts_pstor/trace.h 
b/drivers/staging/rts_pstor/trace.h
index 740999c..a34493c 100644
--- a/drivers/staging/rts_pstor/trace.h
+++ b/drivers/staging/rts_pstor/trace.h
@@ -78,8 +78,8 @@ do {                                                          
                                        \
        goto label;                                                             
                        \
 } while (0)
 #else
-#define TRACE_RET(chip, ret)   return ret
-#define TRACE_GOTO(chip, label)        goto label
+#define TRACE_RET(chip, ret)   return(ret)
+#define TRACE_GOTO(chip, label)        goto(label)
 #endif
 
 #ifdef CONFIG_RTS_PSTOR_DEBUG
-- 
1.7.9.5

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to