From patchwork Fri Oct 21 18:43:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9389885 X-Patchwork-Delegate: snitzer@redhat.com 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 4E12560780 for ; Fri, 21 Oct 2016 18:45:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D9911FEBD for ; Fri, 21 Oct 2016 18:45:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E5FB2A278; Fri, 21 Oct 2016 18:45:40 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0B0932A1F0 for ; Fri, 21 Oct 2016 18:45:38 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9LIhKFk032256; Fri, 21 Oct 2016 14:43:20 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u9LIhJFD025311 for ; Fri, 21 Oct 2016 14:43:19 -0400 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9LIhJfp007838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Oct 2016 14:43:19 -0400 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0051.outbound.protection.outlook.com [104.47.33.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1131EC0567B5 for ; Fri, 21 Oct 2016 18:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+fe1nJEZEjps2nORfF0rE48oufJxFVvmvfNO5mhLEL8=; b=VTYkp88yyTX2OulwxGH0jjeowNqWYe7l+A0elogQE7yFrHcTU0C02eeXsBohMZNETPI5wUue8KEFgwgvIORXV743HR+Jd/P5iPUId4L11Ml8qBr/Pcul5gZCH0/5sUIzBi3j23JCHrL63/i2lAigBLDlI0l9f6D0uTJMi3KepnA= Received: from CY1PR0201CA0001.namprd02.prod.outlook.com (10.163.30.139) by BLUPR0201MB1459.namprd02.prod.outlook.com (10.163.119.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.16; Fri, 21 Oct 2016 18:43:16 +0000 Received: from BN1AFFO11FD017.protection.gbl (2a01:111:f400:7c10::150) by CY1PR0201CA0001.outlook.office365.com (2a01:111:e400:58b9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.16 via Frontend Transport; Fri, 21 Oct 2016 18:43:16 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; opensvc.com; dkim=none (message not signed) header.d=none;opensvc.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1AFFO11FD017.mail.protection.outlook.com (10.58.52.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.7 via Frontend Transport; Fri, 21 Oct 2016 18:43:14 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 51.03.61581.D7F5A085; Fri, 21 Oct 2016 11:33:34 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 21 Oct 2016 11:43:12 -0700 X-AuditID: 0ac94371-5f3ff7000000f08d-ef-580a5f7debd2 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id D4.79.03615.FB16A085; Fri, 21 Oct 2016 11:43:11 -0700 (PDT) To: Christophe Varoqui References: <72bd7a6a-7fb9-5a2c-b22d-031d8feb01b0@sandisk.com> From: Bart Van Assche Message-ID: <4abc7f19-0f90-6928-09ef-1379e25debe7@sandisk.com> Date: Fri, 21 Oct 2016 11:43:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <72bd7a6a-7fb9-5a2c-b22d-031d8feb01b0@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOLMWRm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UzUJStoCReRWjWG5mTnFuemaBoZFecWJe SmZxtl5yfu4mRnCIcUbtYLw+0fwQIxMHp1QDY0KGSUSwgN+6EjEWtnPL7hwIeJ9sHuRup8NW kX0oc8XXU/2GH38J7g5Kjw1+XbSgJSJc4b79kyrRgwkm6tONV1muiWwLF+n5VPtjJ//ZH6eM GLY+zcx/5zyzapFXnRTvE+P3r7c5zJG1/75i+YGtvB5rP8ixNGiIS63fukjw3eWGFJ8nKd7r lFiKMxINtZiLihMBInFGleEBAAA= X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(19580395003)(110136003)(76176999)(626004)(2270400002)(19580405001)(189998001)(356003)(6916009)(54356999)(50986999)(7846002)(69596002)(64126003)(87936001)(83506001)(97736004)(33646002)(81156014)(50466002)(2950100002)(230700001)(81166006)(4001350100001)(586003)(8936002)(8676002)(77096005)(23676002)(65806001)(2906002)(53416004)(92566002)(47776003)(36756003)(86362001)(31686004)(305945005)(31696002)(68736007)(4326007)(229853001)(5660300001)(65826007)(11100500001)(106466001)(65956001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0201MB1459; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD017; 1:q4VV1OW/YXekp1I9jMtpcHkDnzcO0b8ngwLc/iBy7rEPN/lOdw68+LLQrhorLcADPL0T3RRGWsDtAN8I+StAAgqxWqeFY8Jum0ukU0E2w2PK651bgM957JZEyPe6JFfTs5ta7v+ZuOqSwjSK93UUk5RtNQnSQYk7E22OLXxJT0RB13HyEmZbk/Q5le3+tdYmrn17ZAjKUWBnpyGeTtYbm15M1JdMHBeKXmsMqTXY7uPRf24dYOsHDPaS21PbVVuEv632paupxT1ayoW+EeCTrOEtaQ0otcPgXqsFkDJQ7j0D2od5dX/ZHAR5u/49c55kKfm5gfsHgMP2B6Nnm2FT+jDL59NyJSKG2HPf5RjfrX5it23B4OtrjeMyf/Y+nbK1BzrJcv5Ax4uZsTe0/3UsDRmJfx2cKtalQjIRCwDOoCfZeI35JZiFmnUcTtCp+y90etF3cfnH7ASCSwqgX2zlpxMkVPzqfyMnnrpLuPYE3ZCxJGKlwaNBzOcamla/2n0y X-MS-Office365-Filtering-Correlation-Id: 41cd2cae-66a2-4fab-e790-08d3f9e21e5f X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1459; 2:FTJa5uYXEom3ksrRtRIU5VpaNYk6V7aXd9+OAxeya3O5dLY25zarkD5jqn2jL4DIogCUT5fdNlGXYfxXkswPIKt9Ay8jtN1I4pSpluJ2uiCeXV59GeHT9QTpO5LrSEJlQOaqMVyuImb5FoGqg4bIOw5DGjKr2Su092GbYbtyAJABQqGZhEIUCdCQI+12FOh4o7TH0O5MUuRpblET/472+A==; 3:92wGECJ784J7xNp6wBtQACpuGwdRg1mxXxR/ayja5VItHPCLSQzWftgzHtO+jHK+rim8Hevh7q4ZqYixNOi5eCGEmQov7uz7pGGT4oXEFVswR4klcxEwJRxS4zlF0FGU2FXyuI/w7Ung57Pw6WHIOjOv1mQbWkq4IsEyXaVR0Sf5EOXuUGjw60gAZ/GJWKWaRKEQByhLEHdcAh0faHXzpnWlSMeWMcdd7ijWZHo3B3BVb1hXhJQpWC4B+GZfo4GvZ2p1c8hVkFOQ19xzO76t2JBXsWBkeegqhVfYF75fd7A= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BLUPR0201MB1459; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1459; 25:ehv8uecG/15/yhCLqFneAwvM8RPdCdLRRsUNaH9xK5l/NHa0pXo7MexTP7zOmFz7LatPNE2ewGCFg1QcQ40azndLfyycWQJEoL7149+IfQhZubilYYZe6TJQHblT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dSpqK19/TpTiJaaFDCgQWxMvFekc10r3qcaGheAqsA6pQfdg/M/v+zAorv4Wu6vWQtpcBR4RJIrj0irSJbyWiL6DspQMPlmDy1lLgAmdr6uYyYR1wzyUTnJ/GOsJxCpc0TiNzVIu9+9qFYA+SEdapKUX/nDfjihTsG96+rhxq2C+WV0q+1aZAamtq52DJ4eK+pNcMJL9pLld7NS7dOIF2XlfLsIEK5i7quFt8AI7m4gVgEZ7CN/Fy/WvYYyXJWRhPs303zWIe6+0o0N+lVEZXHzII33sdenKBbP1qbzZPYaFALgetHa+GaKKsO6Q8ZHGfRoIRnjZglmgLHtSGu8RrqkB+xY9NaWadSL1Nrk5cWHe1dMMiAUkxapAgjy1m54CFY8FUP9RcVQhFgk2l4IIym/LMxmeqvKb29SHq X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(10201501046)(6055026); SRVR:BLUPR0201MB1459; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0201MB1459; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1459; 4:5DtGo5evFRtIWLnZyU3VvvkNCMZqBKCKSdzj7EQA/sZM4rDOxIbXLs1noIDUo5rUCdAzP7fEZSVzbhZwYxZkGvCPON1RJhAfc4Rz0Kfr99W5FmksKMG5GphAUV8N5EIztEzJGATjvnxdB2E6FjoqRNmqe7aCPOdvzsA/C02EX+jOctW6gt7aVLUhRxdttR8zOu8n5U7P/hcN+b5RYjKzBNAsQUtAGNPRacUSI1bxr3RlkP+LPQ7shBLmI9X1U8XPU8zO/jfd+EPBKnX/5aoM72kl87ihGU1KYH1UadHfuA73IROUNTVju8l5ecXb+KpY3eK8+AoUb7tRzPZLMS1lcIk3EFtZPJwt3AF5K47Q+xay3PeEAXvnEjbivfUDWSyOd4mTcXYwwL+tmRyOQawY3XzsupdN0od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bXVScnZueGk2THFwNzVuT21Va2dKYmNMZi9OOU1TSlV0?= =?utf-8?Q?vSg3DAVdKI4AO3e6JQ4Ey/pnwQFtuc41pROzAUYvh?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1459; 6:MHZqGu3Xqj1xEF8+2YH624P69sdQ5uJgzVL0VSTj0azF3+pRWv6cUhrDL+CXo3jf2Q5mDHFRVoQndbOMO9A3x1OeOJb2KeMJ2B8qkqpQ17/f161hDr/ycTvfwWLa7TX6V4p7bdE7FvDwuye+Jf4mAEAWlSF+g+kpzCXpvoT9dRs20v/liASrkj6ZKMn8JFPqofSDi5ma7anWn4pGw8b0x/8TjFJ4jPcMwn7Z0si2fOleOIvcNSt4ai2yirtFvj66128PkTIBY5Lgy09JVwOE4x/ZsrpTs330d5B92Yxgkq6jtQRpiVWaZchXuGCivuhYgJjme6Y5O4ANy7m36P47pw==; 5:hSvuiSn9dWFPHG1bgW0wEFH0xyEEYe9746I+75Z2wlaEAzdQeLyC7JWYFhdNQwXi5aVil3G85ptUrhSyokXEGGq1CuSHZi8t1iXWFB8qq3u/u0J0crNGBrdOAswKEeIzYtDQDy5ekhc80LKvcLNCrQ==; 24:2C+PrxRXMo+/aoZpk/N9v3PmT9Mt5PNO1tSSUZhkitCRBULMj9/NkkcCA7FOcOkwksXOOqfAFk0EnmDo37/8GxV2MS8KsIceuE5fA8Csy+Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0201MB1459; 7:jeXQjyTOpAVN4o9TLIh6zQfGiWZTAUi+7S0BvNMlWv+dkud9nOtIO3SxnfLF256htIuaZktIMSWz9PfDA626aVmfL0DFUZiyvZnWL9cEXkAXSfP33CzqIP+29B/5UkSF/dPSG0e5sIWTiRmWeu/mHA4/17LW4iCiY3QArb3ZIl+sOY87gjKqbybQ6Mlac/Ew98kjuOI4Y6fY//VYj8/3XlWIdsQPGuOKvqpEg8qisdE6xQRRWa4sLEbmXxY7xSyPOBdYUd7i34xs9k/YqhogYGJJ+8Vq8fRnTJCJsVAARmh09yMAdv542rwKxSTNFDA1DStgEVVPu65y4kNPHGcK6RoT8ade6/4XgX4PKcRC0iY=; 20:6EQ21kzPyHxNnVyjzGBg5AwuaTsbOg5MF5hvNlm+dykeldoDswhGtUdh8mAYC3eWm4ZbufU/V8xhCvHl1SUDRZRPgyd705n/pUe1KgUTvqsDx/vePkcmkuLgQrAzwcHucLFgx+Uk0obG4VymcFCq28eysdTPURHTMzlaPxqc+9QYWy350ZZIOcmpesta2VXXpQBpVAn/fkFQpe8Cklx0Z38XJRk/x6LGmVTdjS6I/78N5ip/kMiv9/tvC8Cl6cZJ X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 18:43:14.6759 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0201MB1459 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 21 Oct 2016 18:43:18 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 21 Oct 2016 18:43:18 +0000 (UTC) for IP:'104.47.33.51' DOMAIN:'mail-bn3nam01on0051.outbound.protection.outlook.com' HELO:'NAM01-BN3-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.368 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.33.51 mail-bn3nam01on0051.outbound.protection.outlook.com 104.47.33.51 mail-bn3nam01on0051.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 05/15] libmultipath: Fix POLLIN checks X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP Instead of testing (pfd.revents == 0) & 1, test whether (pfd.revents & 1) == 0. This has been detected by the sparse static analyzer. Signed-off-by: Bart Van Assche --- libmpathcmd/mpath_cmd.c | 2 +- libmultipath/uxsock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpathcmd/mpath_cmd.c b/libmpathcmd/mpath_cmd.c index 667a2dc..d9c5790 100644 --- a/libmpathcmd/mpath_cmd.c +++ b/libmpathcmd/mpath_cmd.c @@ -31,7 +31,7 @@ static ssize_t read_all(int fd, void *buf, size_t len, unsigned int timeout) if (errno == EINTR) continue; return -1; - } else if (!pfd.revents & POLLIN) + } else if (!(pfd.revents & POLLIN)) continue; n = recv(fd, buf, len, 0); if (n < 0) { diff --git a/libmultipath/uxsock.c b/libmultipath/uxsock.c index 880257f..b158a56 100644 --- a/libmultipath/uxsock.c +++ b/libmultipath/uxsock.c @@ -116,7 +116,7 @@ ssize_t read_all(int fd, void *buf, size_t len, unsigned int timeout) if (errno == EINTR) continue; return -errno; - } else if (!pfd.revents & POLLIN) + } else if (!(pfd.revents & POLLIN)) continue; n = read(fd, buf, len); if (n < 0) {