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: 6582821 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3F0C3C0433 for ; Wed, 10 Jun 2015 16:10:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54B8E20592 for ; Wed, 10 Jun 2015 16:10:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6D0262057E for ; Wed, 10 Jun 2015 16:10:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965286AbbFJQKK (ORCPT ); Wed, 10 Jun 2015 12:10:10 -0400 Received: from mail-by2on0136.outbound.protection.outlook.com ([207.46.100.136]:31072 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966671AbbFJQJN (ORCPT ); Wed, 10 Jun 2015 12:09:13 -0400 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: , , , , , , , , , , , CC: , , , , , , , , , , , "Suravee Suthikulpanit" 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+TXlGefN6qciBkJo2EZuAPCMsQxHeyY4gFz2uUjJpErxUPHs5Oc8BT8okB4D0s+sO3IJoKy0R66R9suDAzAB4eo+Mvum8U0OnhJMCF53pnlJF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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 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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