Subject: RE: [V6 PATCH 6/7] megaraid_sas: fix TRUE and FALSE re-define build error

From: Sumit Saxena <[email-masked]>
Date: Fri, 12 Jun 2015 13:45:45 +0530

>-----Original Message-----
>From: Suravee Suthikulpanit [mailto:[email-masked]]
>Sent: Wednesday, June 10, 2015 9:39 PM
>To: [email-masked]; [email-masked]; [email-masked];
>[email-masked]; [email-masked];
>[email-masked]; [email-masked]; [email-masked];
>[email-masked]; [email-masked];
>[email-masked]; [email-masked]
>Cc: [email-masked]; [email-masked]; [email-masked];
>[email-masked]; [email-masked]; linux-arm-
>[email-masked]; [email-masked]; linux-
>[email-masked]; [email-masked];
[email-masked];
>[email-masked]; Suravee Suthikulpanit
>Subject: [V6 PATCH 6/7] megaraid_sas: fix TRUE and FALSE re-define build
>error
>
>Signed-off-by: Suravee Suthikulpanit <[email-masked]>
>Cc: Kashyap Desai <[email-masked]>
>Cc: Sumit Saxena <[email-masked]>
>Cc: Uday Lingala <[email-masked]>
>---
> drivers/scsi/megaraid/megaraid_sas_fp.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
>diff --git a/drivers/scsi/megaraid/megaraid_sas_fp.c
>b/drivers/scsi/megaraid/megaraid_sas_fp.c
>index 4f72287..e8b7a69 100644
>--- a/drivers/scsi/megaraid/megaraid_sas_fp.c
>+++ b/drivers/scsi/megaraid/megaraid_sas_fp.c
>@@ -66,7 +66,15 @@ MODULE_PARM_DESC(lb_pending_cmds, "Change
>raid-1 load balancing outstanding "
>
> #define ABS_DIFF(a, b)   (((a) > (b)) ? ((a) - (b)) : ((b) - (a)))
> #define MR_LD_STATE_OPTIMAL 3
>+
>+#ifdef FALSE
>+#undef FALSE
>+#endif
> #define FALSE 0
>+
>+#ifdef TRUE
>+#undef TRUE
>+#endif
> #define TRUE 1
>
> #define SPAN_DEBUG 0
Acked-by: Sumit Saxena <[email-masked]>

>--
>2.1.0