Message ID | 20170823103616.2461-1-laurentiu.tudor@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EA7F4603FA for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 23 Aug 2017 10:37:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C782C28698 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 23 Aug 2017 10:37:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBCB128944; Wed, 23 Aug 2017 10:37:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1928728698 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 23 Aug 2017 10:37:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QL/BUL2XtDbNiEGZdcny8hDY1SXrYuim76DDgqceMD8=; b=ZdrQv0Y35SNjbi GhCVf+wtqjWdN61kfg96HtnRRA34c6MudfgYglbyZkjdYmHqkRLjEmOmtPWFzBuiDbTVePzuoOPhB HnPrMfHAQ4EFHxeJuLODaY5pdkZlcEC7UV2jQOyfm/bkdjoQFVhjnGbFlh785nFjyFpC/sFzlGhiz tWzbGxGsmM2Rbt/3W+0j9Xz8mwFyKSIj0/J2R4RibwWOfAb7Wf6fcoxl9NsjkmrJkRv4zPPngVozL G+qc3W1/lXTgvhBFeSBZxWTl+dqbzxPC1x+NhM4+Rkc5lGlXJD5oOSa+yiT0ob6YXxaMlhfW0ofoW tnItdHcQBXaJCP7dBkVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dkT2C-0000NS-0H; Wed, 23 Aug 2017 10:37:16 +0000 Received: from mail-sn1nam02on0625.outbound.protection.outlook.com ([2a01:111:f400:fe44::625] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dkT1q-0000Kk-RK for linux-arm-kernel@lists.infradead.org; Wed, 23 Aug 2017 10:36:56 +0000 Received: from CY4PR03CA0021.namprd03.prod.outlook.com (2603:10b6:903:33::31) by MWHSPR01MB180.namprd03.prod.outlook.com (2603:10b6:301:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18; Wed, 23 Aug 2017 10:36:32 +0000 Received: from BL2FFO11FD027.protection.gbl (2a01:111:f400:7c09::157) by CY4PR03CA0021.outlook.office365.com (2603:10b6:903:33::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Wed, 23 Aug 2017 10:36:32 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD027.mail.protection.outlook.com (10.173.161.106) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Wed, 23 Aug 2017 10:36:31 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.72.223]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v7NAaQKt016574; Wed, 23 Aug 2017 03:36:27 -0700 From: <laurentiu.tudor@nxp.com> To: <gregkh@linuxfoundation.org>, <stuyoder@gmail.com> Subject: [RESEND PATCH] staging: fsl-mc: be consistent when checking strcmp() returns Date: Wed, 23 Aug 2017 13:36:16 +0300 Message-ID: <20170823103616.2461-1-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131479581919088598; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(2906002)(8676002)(47776003)(498600001)(39060400002)(8656003)(8936002)(33646002)(81156014)(189998001)(53936002)(104016004)(105606002)(85426001)(1076002)(81166006)(54906002)(86152003)(5003940100001)(69596002)(48376002)(36756003)(5660300001)(2876002)(6666003)(77096006)(106466001)(50986999)(305945005)(50466002)(356003)(626005)(97736004)(68736007)(4326008)(50226002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHSPR01MB180; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD027; 1:D7rH8WU56fn+Q/koDXOThRA7EKz8Mf1I1gkaat8Q6ACGIgm8W1NKJ/+gy1Pk1BldTWOmHd4AOB3TS4DDCCGrmYUCsyloLSngGFrDlIUEzsfOGHkmiGv19c51cu8ppqRs MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a95bb320-9dff-4b05-0fd6-08d4ea12d1f8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603182)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHSPR01MB180; X-Microsoft-Exchange-Diagnostics: 1; MWHSPR01MB180; 3:3IM61ZaSzF09J51ufGuhCRj9JqwdgBY9fL7eZj3SR4sXsFSrCWL8SZ1oZJREEP5u2xnhvKCXnvolb8E32/f4ezXqKSDXGp2CwFcYatoZn9xOjaEDRvFbP9xrnrSqShz//zPkkm1FqKeWWhed+u+mLPMICSTaKkMPLSNYokDVJLcThYWbUmAr/hxR2wk5a2FpYfqPbNFhkjc18GoCvTLwv6E6ozAWgMN4+pk65XChvlKg7zuT9n1qAJMS7p8G/etmphZNAYIcf8yGRQNMbBU7/1ff48DJqUBvgX3SW4JEV2ztTASYFWmlgdlgVVuyj49yF2uY0b/hpgM/F6FPMWqLj16tkwYIUl8grWCwefFE/hI=; 25:j+DFvqOTstQ62CvYlotvPMk2rxz5C1NIKjZQoHOA3TzJYcIUANC5By+eSRoM2jNo8hR6AY/EBxH4cVZqHJf9a3qA0SrZOwAjuwkT2IH5jQGe3GpbhNVeX01tjgbYQi+ktsBxiTobDMTjkqGgmmv0F1HEhxfx5bRshlasDrBJgHvPGr6xQVdRbsgsrEahCMrtswWczLqnYOUGjjk6RfMqxp/KL05XvZDvCPpSYwzEh4D+9Bg2Zo1liTsVkcS5JqT76AaiAZXIaqI9qFBifxuInz0EzpC7ucVf9HG35kxdqnaKc15Nly5Caf6tCp+w97ctMQo5iyDI6xMCF7dSdm2bQg== X-MS-TrafficTypeDiagnostic: MWHSPR01MB180: X-Microsoft-Exchange-Diagnostics: 1; MWHSPR01MB180; 31:EbUp8q8XuCKWkWkeXYhdK4UHuqcO5/RLYmZnOjTPWhQKRtyoA4U4XVTl/wRB1lPwaJUTcuWVEuzLoxqGo4aK06aCly4vQ7BJXuMCxNv0x3ZPzCH9r8GKUbps/KUXoEWdFRyqW1deutzjoQM3D5A+GJ+b1HJkUeQ8ZOFaJ93OZRyjkDvVCd0lPHOpeFjOpXyeKgg8BCkjBisfahER4dCDDrzQ+tG/p0I+siXM8vJyEEA=; 4:8/4FVmLsSYD96SRh2xM4gxQxbrqOhEvnA5FBroA775a4VLGK9GIyBG4ySDRjU+Uyy+8GIIYJVsSAL6mWkyfO2LejneUcc8cJj71RqjlwmoHkpXx1qmBt1aSkMCMMOz/S833LlF5GzDACmhqMLmzaJY8VcpklpztIf6RqLv8J1R3Ar/iecYwSJiZOWtSMQ4xxRRf60DqvAO67eyOXqbrcIco+7Ko+XwW8iLMQigMBfvbg05EPUTddwKSaoR91p9AGRK6DENaerWLQJ3R6G1+WrfaubsetjssOQ5QQhDf+vyk= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <MWHSPR01MB18012D09E2F41ACBE4F5EEBEC850@MWHSPR01MB180.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(8121501046)(13018025)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123561025)(20161123565025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHSPR01MB180; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHSPR01MB180; X-Forefront-PRVS: 040866B734 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHSPR01MB180; 23:bB8UtUFzdzSyi8kRmQQfyTBz/i/3X61dkuaRYjl9R?= =?us-ascii?Q?hfIQJxdfUSpZ+ptq35d/e9N+xWrUxGUm+TSwXS0V66+2Ik70UP3v2KVS9YRn?= =?us-ascii?Q?XNwKtfo8RsKbgQ/QrDTEN3WuUB+NAVaonIkkCo17HIKk7H7FckKEz4iF44fe?= =?us-ascii?Q?3ptNbnz2881FWCvW9tUQN5s00CVBXUTy6xErYO03zwEHzeLq1oT6rSYTFmzM?= =?us-ascii?Q?clTS/qj2Vw/jnC84yx5n6YxOwggbjCXlx0xxZBNfIxPOIr4xW55/V14ruyka?= =?us-ascii?Q?/NPGS1rhtOUU2X+9dfDx44H09veMoTGOOiYx1cFD/xcEh3xyJJLEa3GF6NQs?= =?us-ascii?Q?wAFIVFALSVptEfbvrdHhcTVNk4RmvDXBBXyevabXoVTZcW55wmwGlvx/ZPMs?= =?us-ascii?Q?Os68AeH13IwmA6tlYQRyb0jTFAfWX/nhxrhHw5N7cCyVQJvbqt3l1cQnLfGD?= =?us-ascii?Q?6ygZky0TAgUnF6NJyP1WBZc/ArmWL1f4KFnom76EQ9HlIw/ZfUTCiY0XURGL?= =?us-ascii?Q?v11dLhJwelbYMQYZJWWPBgYjJpsYKbCQfcMSg2vOnDHAU1YZfq7R9UGcoprC?= =?us-ascii?Q?9lmsitXHVYo/XzDEUO0GnJEQPSgh2RkCClH5nkF8jXoEveNq6N9yqFeSOCpt?= =?us-ascii?Q?G/Nb2afa7RxhBoIGFuIzg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1avN4+SduVW1iWSsVTYriGFy9viiICPTDmdkKxsEgoetCRROZUfA==; 24:J1B5K7h/6qoT7G2+kFd/FUnjVqu2wwxnLXM6FuUmSDCU50WQdF1p5V2qiMa2RLVLAfwzwR38CqHzi2c5gY2e9eZfqvO2N5WfISQz740CIZM=; 7:vhCcUf26QQ/cCyfEaL5wC72MJQ9wNufSHY13Qj1HDncmeZKnODp5dV8hs0aD2FR2mptoGby3rjsIpLZ2nDLLf3h0dkmJrDkM+kzrvg2D1X/WyCDoVSFdBHfOS75MzDQ4uNdn5egQWfpfhsf8e3j5kj0B3qNQCbcezLtAY58Oy3di5aj9jE4Th7apuR1JiQlHu76Y6sOPqtMUKM1NqGiXjVh96IUWguGLJ048cJQbApw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2017 10:36:31.6748 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHSPR01MB180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170823_033655_003225_035ACE49 X-CRM114-Status: UNSURE ( 7.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, agraf@suse.de, ioana.ciornei@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor <laurentiu.tudor@nxp.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c b/drivers/staging/fsl-mc/bus/dprc-driver.c index 485abad..06df528 100644 --- a/drivers/staging/fsl-mc/bus/dprc-driver.c +++ b/drivers/staging/fsl-mc/bus/dprc-driver.c @@ -29,7 +29,7 @@ static bool fsl_mc_device_match(struct fsl_mc_device *mc_dev, struct fsl_mc_obj_desc *obj_desc) { return mc_dev->obj_desc.id == obj_desc->id && - !strcmp(mc_dev->obj_desc.type, obj_desc->type); + strcmp(mc_dev->obj_desc.type, obj_desc->type) == 0; }