From patchwork Tue Jun 27 14:41:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9812029 Return-Path: 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 7218B6020A for ; Tue, 27 Jun 2017 14:54:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6202028543 for ; Tue, 27 Jun 2017 14:54:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 534352869F; Tue, 27 Jun 2017 14:54:25 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID 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 CDB6028543 for ; Tue, 27 Jun 2017 14:54:24 +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:References:In-Reply-To: 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: List-Owner; bh=IBqmYAU8XtfgsUGbp9lsOfpklQTzcXEQpqAxctincSQ=; b=fg2+4XobnLSnh4 0P0jH1vKqdncEE6zMM0ccgYjKEi3hSpFbBKPVQWe5O2o70v8pNLFk01I8CMYQNWvOhW96DPonP73X 7AfWQlH0lsZQDBwxuR+uKPgC0Dscin9mT9hyNglW7AASnmKbtu1EWhyVHh3tIzmk20Hq6XTSLGGak i9Je8h4ZLSAupke6cmwxsfv/UEPPXqdQrpAIomNW8SBlXAnNzPn67mIg1HTQ8zKipc90B5+bVW/kp Ilw/ZIIgnD/dUylIh/wriz6QfvRLpGgipKyndMTusQJFmu/IVMsRdR+CMUoNelyabE1LFHFJsOYiQ TZB98ol9OjHmDQcA1nHg==; 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 1dPrsm-0001Wg-6z; Tue, 27 Jun 2017 14:54:24 +0000 Received: from mail-sn1nam01on0062.outbound.protection.outlook.com ([104.47.32.62] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPrhA-0000Pk-Cw for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 14:42:26 +0000 Received: from BN6PR03CA0011.namprd03.prod.outlook.com (10.168.230.149) by BN6PR03MB2562.namprd03.prod.outlook.com (10.173.143.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Tue, 27 Jun 2017 14:42:02 +0000 Received: from BN1AFFO11OLC002.protection.gbl (2a01:111:f400:7c10::178) by BN6PR03CA0011.outlook.office365.com (2603:10b6:404:23::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Tue, 27 Jun 2017 14:42:01 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) 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.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11OLC002.mail.protection.outlook.com (10.58.53.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 27 Jun 2017 14:42:02 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5REfmne032306; Tue, 27 Jun 2017 07:41:57 -0700 From: To: , Subject: [PATCH v2 02/15] staging: fsl-mc: be consistent when checking strcmp() return Date: Tue, 27 Jun 2017 17:41:22 +0300 Message-ID: <20170627144135.15599-3-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170627144135.15599-1-laurentiu.tudor@nxp.com> References: <20170627144135.15599-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131430481223809617; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39400400002)(39850400002)(39410400002)(39860400002)(39840400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(8936002)(48376002)(86362001)(50466002)(50986999)(2906002)(47776003)(1076002)(36756003)(76176999)(33646002)(6666003)(2876002)(2950100002)(86152003)(105606002)(106466001)(189998001)(4326008)(81166006)(8656002)(53936002)(5003940100001)(54906002)(305945005)(39060400002)(7416002)(8676002)(498600001)(50226002)(38730400002)(356003)(85426001)(5660300001)(104016004)(77096006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2562; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1AFFO11OLC002; 1:m0rheEF5pcILIl7envJfooCANdRSEyi0Tf8d0DGL?= =?us-ascii?Q?hHImINujcnWiDvLVm2Pyr3KE17i8RywgM8vPxYeGryKa/tom9CFQxgca9qip?= =?us-ascii?Q?7hg5hcoMcgXTIj2AEJHGaCh3AtarSaaKs8K1XOACJQfm1qWDy3HWOoPlc3s8?= =?us-ascii?Q?etgOqWZbW3ceGt/3/fi/0DY6wfveNPhErtoI6Rz4mABjAeBzCW8DioXEmPsO?= =?us-ascii?Q?O+GRHIPZgQfOVzvYFWFP4BcaE3/6Ip0UXeqNkbfKTb4Np1KbEgNFze/MpJYt?= =?us-ascii?Q?tAape0ZU7sParU+JEBzld5j1Xe1P4BSYwbiJP0UqjtsGcSV0imXCJgPVqPt8?= =?us-ascii?Q?TBGosey2BCG9jXiSTbAiFXla2S2uwTW4IZLLAFNBGwxeC1dBH5UDT6aDba0S?= =?us-ascii?Q?LCXS22DkLa+0WTmYI5zKxiD04ZQlS0y/05bNEHx3Db3Fpic60E6ihEs4BDno?= =?us-ascii?Q?3HXaECxKNqNFJNdi5G1d2dBbDUivrM2krwcVxNbzB2Vy1ZAkETJ1DGKENDTE?= =?us-ascii?Q?SHuGsBcCS5F7KOT4FyD6A4abDFb17jc0AA+ede4mAMoDQ+LgX4ie1q4SJ69X?= =?us-ascii?Q?cvokQ4hT2/rnebSj3vWb8S6+YiThOWx4sOWtP8fPTpv8NakCYCAAxd267qp/?= =?us-ascii?Q?mdg48UKqEfPEX43PSN6sQq0FblswDyE6m520GsyBrwc2geJcjvWg/Q52Ngb2?= =?us-ascii?Q?hfqrc8vpyXCYsjpTSjt3XeI4QxoH+wFYwItAN1brlZKxaUz7hJ47bMMbsF/Z?= =?us-ascii?Q?nDSBHieYq95PUM61v7tJQdKsfA/Cd02AR2Fr1CJLTtIgmk8Hi/jOZFChiUVb?= =?us-ascii?Q?MUfWjDNrkZhobedaOLPhvLYBXKpVkOUguNKP3Nggs9KMBzZiS3M6hF4dBP3X?= =?us-ascii?Q?ogi0l/C0TQzycT4j1dLPALdgeWXs54N34uZZZ5aYhTxbY+XoolknZ/qEEg5w?= =?us-ascii?Q?ZHI+IN+UsaaUyPpvVQJ7YAtQkwsuu4PuSv/DacWUSwXV8FgnTh9kJ6HRxhmp?= =?us-ascii?Q?gjRCifnF1Rr5Wp/pTJ446OymSfQ+qIRz6tD2jYC9IR5KmOFAjO5aCrJ+fiZZ?= =?us-ascii?Q?53pkotSYA93NHYGir+gaoqcuvRws?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c311fbb0-6eeb-4c62-fa51-08d4bd6aac77 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:BN6PR03MB2562; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2562; 3:xXQlshB0Ejk/5wu652Z8JE8Qy/VCp6/bRXLuR7sjnPfa7EY/3E3p8k+H/NeK0zMvmX9BDGO9osCwYEJt/w0dpl2YpctZkBM3dbWbge5evetLx8cfzo2C1clw0lD65rm/LJqs6/sqThpuv+NZ94gc7ePaaFvrfKF/XTWpkvKuvk2IHl6IzblN26JiZEpEEs8TJlgtkpCRu4EQQFNR2ET8u4GwN+keX6RRRHq6jbz1ANmoKHYpQ9kiP9CAomRt0MRmf9HDBhwgRrz2/j48ej3ZIO5uccNFIGlFV2bkGzG8l+e9ym/3g7xOA8qEmgYLqIB0ZrVuovFK4LQcf8yUY1EIgoxrhFlshHgDYyCHkC1UMF/Ggo/QUPy51AeszKabmaRi8Gd/sZrLTSEDPsy9UEP9jXFyWxFfpe/pwa15p1lIFJzMZWYLmRCwl5ueYwTY3cQFHxQp1+iXx+H920O1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ispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(148574349560750)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123563025)(20161123556025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2562; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2562; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2562; 4:K/odtEqTV0UrbDBULiXgx+s6xiOBa6ISLqpF7CMSMW?= =?us-ascii?Q?NeEnSLUc02gs66N86y7I0LlvfWdmleJJm1xJ4ONX9ClgZsr/uesnK8RQA5kn?= =?us-ascii?Q?OY3iwhXL6W/DLyt8J1zbe2vHrBjMHbyF0OZ07KhU06aQyK5wVXzixB32R42M?= =?us-ascii?Q?OdJmIPZkJE6ISVYsTwROk1E68Em6asBixQKc3mf7Gn7SkWcmq1J9/Modc9+D?= =?us-ascii?Q?Kq8v8K1NYd2GZU3vPjAFltzpATPfdJP6Qpn4GJyORmcfY1YoMuZJnXRsxvh5?= =?us-ascii?Q?e4GbK+AyS8koANmcfnaMaUR0iF5bSzt1Acj/0xsUR58OhkNSiXWwX42nfPwI?= =?us-ascii?Q?uOqhypm14KnSo4Y1yaSOVzi4qXhXTUEFuuL6aIbsDQiQtJ6qmhypgt/ZXan5?= =?us-ascii?Q?nKjp8AKvHg8aw6QFuUm9ovkztz//ZpjRi1aUDmKl55Tg+1kOZmhmlhCFcHfN?= =?us-ascii?Q?B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I0xfH1LeMQc6G?= =?us-ascii?Q?mUKVvx8ms16lR9PMIBwQERPl4=3D?= X-Forefront-PRVS: 0351D213B3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2562; 23:Lpe+vkoGAPAypS34IuempFr+/BiMa66QRhm9wCtHP?= =?us-ascii?Q?TcxMiGJE2c4HAl+7ynCvTrLEDWbowTaM1hRo2tzUzfUEazx3FZgK+jT+ZJPR?= =?us-ascii?Q?vWN2V1CUa0pJcst3BxczcjiyEmy9c4hF+LuBPCet/B4q7eIYFmbMMpJiwOTy?= =?us-ascii?Q?o4/ajMc6XPaK16WtAj2YI6o2VRxc0yUO6bmKYSXplMnUmUKyvcDp2co6A04v?= =?us-ascii?Q?Hnvzmt3zpwolT1UQD7CCt0Ot0/U8Y2zxCq7UoyamsQrzFmD6orX3wVYJcIoA?= =?us-ascii?Q?QjgP/3ihESDNuG6sa7MDk+DtoeF9nBEgtal2KAuvDsClY5wAoK89AgliCMip?= =?us-ascii?Q?7Eu05O5a36mX7QM3/BJtnu8/n2Ogv54pZBegUPtDuruYjbpRz/cw4c01OvVU?= =?us-ascii?Q?BUl2tDxIG48ErkV5de0wR5Li0eqhD55aLViL0svML2GB4Yi1GttZ151C7Jai?= =?us-ascii?Q?Pfm6xmg9vMfhgPDiUFFTcu3FwlEoKYD50KBmeFuSkYwoILzZ3glyFCoRRzDD?= =?us-ascii?Q?tyIv6f4Nqd87uRn7UhWyoqXp8KnOPt0FfeqtNicJlM391Ow6CmAd7pdowv+g?= =?us-ascii?Q?xCw99Nu4ycKLHKovCDGtTQJjaP23wQJigsIuFpiSvOmF0DOt0mCwmbojKibB?= =?us-ascii?Q?f9moCrKUx9nc5UhDk6Xyw4Llt2v/XHwutqd0olAu0hSWQkXAM0cfulNtlCE5?= =?us-ascii?Q?Uyu/zFKYhTZamK1KRzJ0h4/S0vnWqOrsiBNwZHcdbHBz6PuZHPqnRtc2rI6k?= =?us-ascii?Q?jiB6sgzqJxpEBomDN8NM3CwVY4nJBMS0P1hpIZ74natJVJhRccUmWNnzA+Oe?= =?us-ascii?Q?Fh2WI2F8Jm5stasOBTBUOioBn3666X42fwAnYnW+ituHU83gUysUCVipKJfy?= =?us-ascii?Q?cxBabSKueQLmSXU61KW3q2/ddFZlx/sWRICWzzIVVpwqR7GYyudOB1t0kCQA?= =?us-ascii?Q?+Y6yYsHWkWw8XnlSOwkPQGmYiTfvFmOSJQgDBu6jPRpzrkKib95Gkm6WO85M?= =?us-ascii?Q?RtvObQUXBUwpzQ1JT6jJXV2tWuTmSom8KDPnFncUGg3k556F5XEzLmzWal94?= =?us-ascii?Q?gG6ixj585cdk+A+w1h0kjD1Xj7SibyNP9bu+/ZKfPEgWt9ZBcohoZ6I/Lm+I?= =?us-ascii?Q?OT4juTAXFVy1sH4vCEbenTi+vqNUaydFL8tfvO7gmsRX67WF4fAphk9keB9Z?= =?us-ascii?Q?XwMhknhDB08jmSR9RJk4Soxs4D4qBBKhJWBeYVeyjkYIY+ZlKpYXRQxTU+QM?= =?us-ascii?Q?pmjFQ1urQIpcA3f3lqso1qp2w+i0+2gbmOmOAemhdvHefBA1q/+6w1pKoo0y?= =?us-ascii?B?UT09?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2562; 6:W6WkmSHarYOiBtWQ2AeupumB5RVYIHi1Qd32NMmL2U?= =?us-ascii?Q?HErHWo1o8xwS3s/dWz4T+YO1UCy9j+RVrAlMhNjYgaVrLE7itV3TP+ImxrQN?= =?us-ascii?Q?o3gXPkdPCvUsF4wOTI4KxFCVAoypbhqcJMyWwDJbV+A0dlHax5rFimsCIUhF?= =?us-ascii?Q?zeJEF6JKFoEBsHa8CT2aVOQ7HxZl3FzJ4pMAPrmXMcghGfroZarAadZlOZNV?= =?us-ascii?Q?kMUe/w2UTFD8rJHlF3s3yS8J7WfzRDWY0pqJKbjq33b/GMWYUBnCkvXwPKIP?= =?us-ascii?Q?iY41h3Zga4IvTefBo3ULkDkZ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wJn+kdXm2+Y8z5VOLhVO3oFXHhHv8Cc016vMo2VJBrj04lWLASnpP4X2CHttgjS/iAogNrtaMHmEEJbQYrMwQL520m4io/qMDv3UjthKZ7at7AqS76xCxA+et5OoSvcjUEC9PfHXsC6XWKJ09K6cvKUTOeVglLcD6tIXzC3OP5UQXcviG9sxRqlrMaXtq47hISzrxjXa0LvREBneNa0hmVDanYD5Otnb9ksj3kjBgzeYVF3JxmqCl8ZmbOHQV/5fJaWRXmPasUwA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:42:02.1625 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2562 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_074224_539502_DF7745BA X-CRM114-Status: UNSURE ( 6.41 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, marc.zyngier@arm.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, bharat.bhushan@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurentiu Tudor Stick to one way of checking the return code of strcmp(): use '!'. This was suggested in a review comment. Signed-off-by: Laurentiu Tudor --- v2: - new patch drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c index 9291847..d34e2ff 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c @@ -19,9 +19,9 @@ static bool __must_check fsl_mc_is_allocatable(const char *obj_type) { - return strcmp(obj_type, "dpbp") == 0 || - strcmp(obj_type, "dpmcp") == 0 || - strcmp(obj_type, "dpcon") == 0; + return strcmp(obj_type, "dpbp") || + strcmp(obj_type, "dpmcp") || + strcmp(obj_type, "dpcon"); } /**