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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>From: Suravee Suthikulpanit [mailto:Suravee.Suthikulpanit@xxxxxxx]
>Sent: Wednesday, June 10, 2015 9:39 PM
>To: rjw@xxxxxxxxxxxxx; lenb@xxxxxxxxxx; catalin.marinas@xxxxxxx;
>will.deacon@xxxxxxx; thomas.lendacky@xxxxxxx;
>herbert@xxxxxxxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; arnd@xxxxxxxx;
>kashyap.desai@xxxxxxxxxxxxx; sumit.saxena@xxxxxxxxxxxxx;
>uday.lingala@xxxxxxxxxxxxx; vinholikatti@xxxxxxxxx
>Cc: msalter@xxxxxxxxxx; hanjun.guo@xxxxxxxxxx; al.stone@xxxxxxxxxx;
>grant.likely@xxxxxxxxxx; leo.duran@xxxxxxx; linux-arm-
>kernel@xxxxxxxxxxxxxxxxxxx; linux-acpi@xxxxxxxxxxxxxxx; linux-
>kernel@xxxxxxxxxxxxxxx; linaro-acpi@xxxxxxxxxxxxxxxx;
netdev@xxxxxxxxxxxxxxx;
>linux-crypto@xxxxxxxxxxxxxxx; Suravee Suthikulpanit
>Subject: [V6 PATCH 6/7] megaraid_sas: fix TRUE and FALSE re-define build
>error
>
>Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@xxxxxxx>
>Cc: Kashyap Desai <kashyap.desai@xxxxxxxxxxxxx>
>Cc: Sumit Saxena <sumit.saxena@xxxxxxxxxxxxx>
>Cc: Uday Lingala <uday.lingala@xxxxxxxxxxxxx>
>---
> 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 <sumit.saxena@xxxxxxxxxxxxx>

>--
>2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux