From patchwork Wed Jun 10 16:08:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 6583001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BDA219F2F4 for ; Wed, 10 Jun 2015 16:12:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9EFC2022D for ; Wed, 10 Jun 2015 16:12:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D78F8200F0 for ; Wed, 10 Jun 2015 16:12:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2iaN-0003BK-Ju; Wed, 10 Jun 2015 16:10:39 +0000 Received: from mail-by2on0128.outbound.protection.outlook.com ([207.46.100.128] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2iZF-0001YQ-Bj for linux-arm-kernel@lists.infradead.org; Wed, 10 Jun 2015 16:09:30 +0000 Received: from BN1PR02CA0019.namprd02.prod.outlook.com (10.141.56.19) by CY1PR02MB1119.namprd02.prod.outlook.com (10.163.15.145) with Microsoft SMTP Server (TLS) id 15.1.190.14; Wed, 10 Jun 2015 16:09:10 +0000 Received: from BN1AFFO11FD013.protection.gbl (2a01:111:f400:7c10::113) by BN1PR02CA0019.outlook.office365.com (2a01:111:e400:2a::19) with Microsoft SMTP Server (TLS) id 15.1.190.14 via Frontend Transport; Wed, 10 Jun 2015 16:09:10 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=amd.com; arm.com; dkim=none (message not signed) header.d=none; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from atltwp02.amd.com (165.204.84.222) by BN1AFFO11FD013.mail.protection.outlook.com (10.58.52.73) with Microsoft SMTP Server id 15.1.190.9 via Frontend Transport; Wed, 10 Jun 2015 16:09:10 +0000 X-WSS-ID: 0NPQKV8-08-K9I-02 X-M-MSG: Received: from satlvexedge01.amd.com (satlvexedge01.amd.com [10.177.96.28]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 22DA2D1604C; Wed, 10 Jun 2015 12:09:07 -0400 (EDT) Received: from SATLEXDAG01.amd.com (10.181.40.3) by satlvexedge01.amd.com (10.177.96.28) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 10 Jun 2015 11:09:43 -0500 Received: from ssuthiku-fedora-lt.amd.com (10.180.168.240) by SATLEXDAG01.amd.com (10.181.40.3) with Microsoft SMTP Server id 14.3.195.1; Wed, 10 Jun 2015 12:09:07 -0400 From: Suravee Suthikulpanit To: , , , , , , , , , , , Subject: [V6 PATCH 6/7] megaraid_sas: fix TRUE and FALSE re-define build error Date: Wed, 10 Jun 2015 11:08:57 -0500 Message-ID: <1433952538-22455-7-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1433952538-22455-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1433952538-22455-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD013; 1:KmtqlTLG7+S4MldrGlKd7lFYrDuJlJiP/JNnMc5BzHUDxFrIRVy/JfOqNz1Uoa8EhfDfbSEDp3Dr94mQfGj8xfApbY4M4/sH9TR3eHJI6Fi3LO1hH4hPK8VSm+bKxfbEPJcO8eicZkGGtYZXIZJdgusIk16NObKgxMlaLQsA+vmrLuJnxDHVoTomcx3b18zOtCW1iVykp3JRDJDtWKZ2yGpx81/+hy8H/9WxkM/Kr8QA4Qt0xRnHOLtTN42Y5DinZqciWYd10G+3BR6hXf4cCmJwW5U2M+sr5O8vlFznaR80l+4my8bd6V133x6rSXH25OX/msxeE//qYBHV/rzIRA== X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(428002)(189002)(199003)(50226001)(77156002)(189998001)(53416004)(5001770100001)(62966003)(92566002)(47776003)(19580395003)(86362001)(2201001)(76176999)(105586002)(50986999)(229853001)(2950100001)(19580405001)(87936001)(36756003)(101416001)(46102003)(77096005)(48376002)(5003600100002)(921003)(1121003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR02MB1119; H:atltwp02.amd.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1119; 2:g3DkEqXW3Gs2+TBBx2J9y5o8/adQZ02RARUWpjBoCCxO/0kvwy7kzta8c5iCci5A; 2:qfytK9Lu1yWfa2lGiZHaVIHyHb+A/mbHhsydkdMr6LAKFFM2FXZBIGPQq5vSl0x1ea+ZWvos58yj4OjpitWz1RJcnTbE+CNmVDA1kWdBb7KSsEZPvSCBlnYoybwaW1BJBHzrS/sHgann0XKYVglm1Bf2f10TIaUvfjby1VpX3JlEK5GdQ8jlxQvwFPICwpLSGyZMORvIsHhTQDU8ymaM9Z5iy0rY2NnYFCb29orIcgp9YCbuA+1kn9X+QzGzFAMv; 6:xADvjriDbT9rwS0zUG+M8O6Mk8O2iGF/o3odm/IgBaImw88rE8E6kVDoa2ip8+bjmTPyOo+RX7fYYqkZdSkUyV7GK950GQMyWI/YGruPXnpvsISGXZow1AjGE62fRp1BsczGGrdkWgp3PVJr5R2A12WtjlxX5bY3l1uxenlWvSdNtz61iw7bu3PXj8iTLuviyv8xperUpzudYL9Lfl6JE8s4VJHIoMVXh6QH84Qr/2Gp5ptif0O/09iDlBEtO2i0GKWa8xOSeT07phZZJa1Y9Q4MfDu4+fzoC1n0P80Zhk/pBjdpNzBThalaVff3iSmasZWhvVBuqetp9iaLiumu456NVDTsTF8VVjRFJ/CklZZTzA2YCATMUbQSjvb/+u1cUQTSSUNtlABo5D6QGMjxOS1c9ukuO/aazRqttW/qclAfvv9d5h5kVDVOKnSuatIUrhYLsqciF+mtRhmmkygqGstINDg+puczuwWaXRT7Yv2iJN6a/j8ZIIk6byyG8QGh X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1119; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520003)(3002001); SRVR:CY1PR02MB1119; BCL:0; PCL:0; RULEID:; SRVR:CY1PR02MB1119; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1119; 3:cLkGzj33+pkH5cg8yNFvLpU76FaYoUs/3upfv1JSaaP12lbMEaYMVRV+yH2b7vbwsLyGq04raKkW1ocnlSTwPTtKxaNDohGP3yjFZCbLt8Au3FmvuLzw645sDP1fYxni3BvvO0PWuiHkWSyCBF8s1WOixCdRHEiiUmJwADLSWI9jRLKmEJ+8KtjO8Q933z+R4rBNOTqMWzC0UAu4Sa0TJ8/8sK8zfFuuM2/LjYaLUIlPxOf5eEALP2dmgxRlLSctTLnpxpBsEjVLTGK33f28dCxOL14tAG+oI7ycw66eltKEC/W3E6dFkxh4BHMOVrLS X-Forefront-PRVS: 06036BD506 X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1119; 9:ZVd+ATN0lueQ+Mq95lyGd/0Hji2AqVcztpVm0lx4RvriMf8txES/7cLR+TXlGefN6qciBkJo2EZuAPCMsQxHeyY4gFz2uUjJpEr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+0hKLb0d X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2015 16:09:10.0667 (UTC) X-MS-Exchange-CrossTenant-Id: fde4dada-be84-483f-92cc-e026cbee8e96 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fde4dada-be84-483f-92cc-e026cbee8e96; Ip=[165.204.84.222]; Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1119 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150610_090929_498775_E29C7224 X-CRM114-Status: UNSURE ( 6.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) Cc: al.stone@linaro.org, linaro-acpi@lists.linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, leo.duran@amd.com, hanjun.guo@linaro.org, Suravee Suthikulpanit , msalter@redhat.com, grant.likely@linaro.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Suravee Suthikulpanit Cc: Kashyap Desai Cc: Sumit Saxena Cc: Uday Lingala Acked-by: Sumit Saxena --- 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