From patchwork Fri Oct 21 18:45:54 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: 9389899 X-Patchwork-Delegate: christophe.varoqui@free.fr 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 B849560780 for ; Fri, 21 Oct 2016 18:48:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC4FD2A28E for ; Fri, 21 Oct 2016 18:48:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0AB02A291; Fri, 21 Oct 2016 18:48: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=-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 7D27F2A28E for ; Fri, 21 Oct 2016 18:48:20 +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 u9LIk3m0032504; Fri, 21 Oct 2016 14:46:03 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u9LIk2FD026010 for ; Fri, 21 Oct 2016 14:46:02 -0400 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9LIk2en030291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Oct 2016 14:46:02 -0400 Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0085.outbound.protection.outlook.com [104.47.33.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 04D473F1F0 for ; Fri, 21 Oct 2016 18:46:01 +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=W5v4b6aaapD8Gx9KqiFmhcFuS2i7Frxcf3TFiG6GroU=; b=PShN2mK4Unz18u19OkMwJTUX0uI/EDRgyfb8R2pwOYdkAJEsxbBnJQxPWLXTP8HCkKlt7bPXtxiEr57JYy/+5UCuR/UQLUGST3ZO55SP3UXBCCCFwNyAkq+73eqQQQNEBrQRmuZa61t7m/D1JQapEdUIjXY1Yqao3zSX4XWDJ44= Received: from BN6PR02CA0036.namprd02.prod.outlook.com (10.173.146.150) by BY2PR02MB2149.namprd02.prod.outlook.com (10.166.110.147) 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:45:59 +0000 Received: from BN1AFFO11FD051.protection.gbl (2a01:111:f400:7c10::109) by BN6PR02CA0036.outlook.office365.com (2603:10b6:404:5f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Fri, 21 Oct 2016 18:45:57 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 BN1AFFO11FD051.mail.protection.outlook.com (10.58.53.66) 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:45:56 +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 A9.03.61581.0206A085; Fri, 21 Oct 2016 11:36:16 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 21 Oct 2016 11:45:55 -0700 X-AuditID: 0ac94371-5f3ff7000000f08d-23-580a60206b3d Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 1A.AF.02564.2626A085; Fri, 21 Oct 2016 11:45:54 -0700 (PDT) To: Christophe Varoqui References: <72bd7a6a-7fb9-5a2c-b22d-031d8feb01b0@sandisk.com> From: Bart Van Assche Message-ID: Date: Fri, 21 Oct 2016 11:45:54 -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+NgFrrBLMWRmVeSWpSXmKPExsXCddJ5ka5CAleEwYO9JhbrPs5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zOJsveT83E2M4DDjjNzB+HSi+SFGJg5OqQZGixqJ3mye6Btzkw/Vle7eF3zpweG/r2rn Fe98LG+TnVj8+8frS/eWKZgoV2gnFLI/Ym5eH+gdfTeo7cfNXddXy1+xvdgQrv3ntL51gazp jFni+2x27di0U2zXsgUHi1ff7c5rPnLUwH2+uP2aWVcdtPTuPXjVpCj8dnFgvn+opMmSA7Kf Xb+ZKLEUZyQaajEXFScCAHZNlivjAQAA 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)(199003)(189002)(50466002)(33646002)(189998001)(8676002)(86362001)(77096005)(4001350100001)(575784001)(87936001)(97736004)(31696002)(81166006)(81156014)(626004)(305945005)(7846002)(2270400002)(6916009)(36756003)(69596002)(110136003)(64126003)(2950100002)(230700001)(356003)(92566002)(5660300001)(31686004)(4326007)(8936002)(2906002)(53416004)(23676002)(50986999)(76176999)(65826007)(19580405001)(65806001)(65956001)(106466001)(47776003)(19580395003)(54356999)(229853001)(586003)(83506001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB2149; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD051; 1:9w4V8WMH24JmeZWHG9gByY0MGfxNHC2++J7zIgVSH9kY+LiVacohTRS+K7Lm5RuS3RHSOM/Ty9TGQin8XJBH3EJq3rWVqMyElNLLplaT2hLedfKMA0MzvCyUp5y/wLxysBRoBWrs4qImWTBD/oqzor3AkE+zpv+rS/W3jxjLHz8NVYPFm0uaE42DL4VboJ0d2FfSkrPxMavi9u3KMyHWRZbbXDMOkUiQfPnX//aMyOZyZPSvq/qHNbYtO6Va7/3px8gIpz4hF7ruL1hwpcWaZ/Ao/vtff3vHO6OllhjIxf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DYRifdnr4NWJYhR5DetiTJFEoA12rJCGpub0EytYTmzzTfjEHHdbrx8Gywc9+JtXUs/XG+w9msAZcy7pCIQuncQRYhBXKTh8KMQo38xtA0YrlGJIjiLj91xd2vH466YvzwsRkeSQ+45znmCvTqW8hchxYVZAHjBNAUQq0+/W2GGxePQs7OVL8Q084EVsuaIJdJKVz4= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BY2PR02MB2149; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB2149; 31:OV1awM7/ELM6+TgUIaBmerA9msb5NRM6D6DihepQ0avBZSRQNwFmzhMBFAyXbhuj7wD89QI5GFnJ+clQwGvqoJUGp4xmFoGjr2sCJZAfhow+UtgQmBBLQ4UOolnKLht7x3ZWUHAf1uI/LcjV/961IeqqiRQPFelD4KXzidvNhnrlVFPzS9lGM3hvnQVBGGfnjGhwP5KkegqeVN970cf00kG7rvdOndUnzWFjQxsynCtUZre64etBi3z9iNQ3S3nO; 20:9wPc7rZxunhDsP1xB6pwUWGyLm+CK0gV3FOWmxPBwIDKW9dd17xPflFRUDpUBcUG1t8+NyrqrZV6fdqdQc78YZ9+wwB9MrFiqIpV3IY3HUIvtp/avp2RvT0BbdNKP+1aZWveSJhyBdn1+XNkHwavavEKUUs32cqf5RMVkQKxotk1q9Ld5ODNiLEr8h2JU8wtXq8m6PP1Nu8VoS4nsNY88C5WsieJ2TGRXF5AXJujbzvRnodcqv7J6nUYF941MWAPlY3z+w2N54UxyeUuEe2bsYftaxcMnpopuSfertkUzSWL+tuFuCCMGBiUm9D2izSiRhmAOSYQ70SNV/3Y706tI+ZHtwOxvXJXiBRMeJjyCk8ScplFKmKOh5c+TM1KUxd6tC4cP2119zbdSRQrcCCbtLb7DmcpnF9yIbDwIsOCJNroyxwhIamHvBySVVDOHntv7xDXnBFrOby6iUGDOiM6wJtWSRqA94JNOzeB+H15/j9JFjAPs2XHxLIToC7Bq2p+ 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:BY2PR02MB2149; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB2149; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB2149; 4:GSghgX1uYluuNHz/cqnjiylcCjHIOsHkI2nZ0oMzg0xHOb8jXyfs92JdJxsGX7CtEM+8NXI23dam/aUqRuXP31Zg+mb+fFITA3rLgjGMxpbrdKil5Z4PDdCzZfnW2ddpH8ZoM0P9AP7oNYsuiHuPan72no9y5nvq5DoC8GvPQtpZzKebvGg0ECtF4Ev7gHPfaJjjOgcqHGJQYJWpJCuo4RhaprMwA+AM+i9l1YPHPbUE7D6WGAtGIAJr6rS8Z1BytNorUdxWSPZKg8fK1aAQ+qLIax/QufNOftjUpwowwrRGH2i+2hYz3AskgZZ/UsR97NgfP4DuTTNLtZljdPnM+LL64e90vnM9juaxo3i/WYvQ4bzm1Dvu6iyHhdHp0yJ49N1zrwKeVv2Kbr5Y/9oxIiloQ3mNqzd7edQbV5sU9JSq3DUdfGirsQcR+7ilCzTsUERJNx9JHIuwLpFt+UM188Ueyg/7H7Roau9VP6dSGhSUan76Xz3ti19me2jF8svO X-Forefront-PRVS: 01026E1310 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAyTUIyMTQ5OzIzOis3R1ZSUWlhdXVZVjR0RzM0UkU3RnhDME5C?= =?utf-8?B?aVlMWFpUL1ZpdERwcUtoODFmcG1GS0p1V2VTVFYxaXMxd2MwYjcvMU1hcXhj?= =?utf-8?B?cHl2ZzIzelc1bzAwNGpRcElYNzhERHZGZVpyNGpkMFZEcThXVStPajZDaXV4?= =?utf-8?B?T2FJRC9tOG1LZ1FsOHdUMnN4RWp2S2UySzZRN0JwbFlUWjBJK1Rid3B4bzRq?= =?utf-8?B?UklY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e2gM9GrTlnuWGj2o5QLJ8mnPtqBpOfw==; 5:Nkbj8PPIqVeMXlLYrQn7vyPGnHcxki5hTHd1mUldaGxgOEUuVYbBbsrv65HS134P0Mq50mvQEVCvAqG/3YtAPAF0RkEasRE5t4A2GSh82UtyNR9J8MsYq8AVfCt4dkivBUqa54QIUUxRYuFkYX5sAg==; 24:6vgr1vIKhOvAMkSyfwpjB6Q7EP5+sfasAxz4qmQVRr8kThqWR8q4Oe/IK8D1Y1vjY+EIZRxvz+P62UY0fzwxblnu09v1gMkhGMMs2X9rF+4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB2149; 7:XFV+mzm8yBBnYDqsZ6rQj0kQHTbs1kdJgPFtRMWQNpgHR95bhcTSKBg/EQEnaSMOd1qA57hkoTk10baPGYvrndHKh6RHGq7uQqm3VviB2KWHKlBFXmGiXf83K0o/U15HE9opzNFMJ9h8MNV+XyDOxD0/or0Ie2dxPrGgDgXBipAraPTVQ9fq+JuelOOzZB9cylFk+Kqyp+xXR/Y+t81wxy4hkN6F9UXk8nkrn/0vzfZkaqP4AHD8i/0Hubq8Hm2dZeSfIR02YyLXUJScSd+7tEzZe1I3vjRzA0wyzkB32oERqjE+0Z4yfMaQIUVrWzDJr+H1Y/PAiuLSHlKYItLDqnbV2Sb4TY7aalJyzjNuYMQ=; 20:imPWIYbfnYfRsuXmagubeTYHkJQitF+fxfZqjKmpBuM/XrHO9wH9GGuouzyDkCVwvuZx+TsqgkV4Djfip1lJTYddkCbLyu1EGPqVupeMBAYhmjyhnwtnucz+FEchknDuMXObs46uFdu/2Q5+YJ7RTUujbYT7lNvQS1cIP6/BLh4Qcx7qFoZTyf6BL6p1eZxaOF5H3oUUyXG6V7PjUqOkL7qz1N1NVGLQoN6NjY1+O8pLjdjUQ80akiwieHWXpQAN X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2016 18:45:56.5320 (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: BY2PR02MB2149 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 21 Oct 2016 18:46:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 21 Oct 2016 18:46:01 +0000 (UTC) for IP:'104.47.33.85' DOMAIN:'mail-bn3nam01on0085.outbound.protection.outlook.com' HELO:'NAM01-BN3-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: -0.622 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.33.85 mail-bn3nam01on0085.outbound.protection.outlook.com 104.47.33.85 mail-bn3nam01on0085.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 12/15] Use NULL instead of 0 where a pointer is expected 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 This was detected by sparse. Signed-off-by: Bart Van Assche --- kpartx/lopart.c | 2 +- libmultipath/checkers/rbd.c | 2 +- mpathpersist/main.h | 48 ++++++++++++++++++++++----------------------- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/kpartx/lopart.c b/kpartx/lopart.c index 0ab1688..4502fad 100644 --- a/kpartx/lopart.c +++ b/kpartx/lopart.c @@ -228,7 +228,7 @@ find_unused_loop_device (void) " maybe /dev/loop# has the wrong major number?"); } else fprintf(stderr, "mount: could not find any free loop device"); - return 0; + return NULL; } extern int diff --git a/libmultipath/checkers/rbd.c b/libmultipath/checkers/rbd.c index 745e240..481d860 100644 --- a/libmultipath/checkers/rbd.c +++ b/libmultipath/checkers/rbd.c @@ -464,7 +464,7 @@ static int rbd_rm_blacklist(struct rbd_checker_context *ct) cmd[1] = NULL; ret = rados_mon_command(ct->cluster, (const char **)cmd, 1, "", 0, - NULL, 0, &stat, &stat_len); + NULL, NULL, &stat, &stat_len); if (ret < 0) { condlog(1, "rbd%d: repair failed to remove blacklist for %s %d", ct->rbd_bus_id, ct->client_addr, ret); diff --git a/mpathpersist/main.h b/mpathpersist/main.h index 7c31262..5c0e089 100644 --- a/mpathpersist/main.h +++ b/mpathpersist/main.h @@ -1,28 +1,28 @@ static struct option long_options[] = { - {"verbose", 1, 0, 'v'}, - {"clear", 0, 0, 'C'}, - {"device", 1, 0, 'd'}, - {"help", 0, 0, 'h'}, - {"hex", 0, 0, 'H'}, - {"in", 0, 0, 'i'}, - {"out", 0, 0, 'o'}, - {"param-aptpl", 0, 0, 'Z'}, - {"param-rk", 1, 0, 'K'}, - {"param-sark", 1, 0, 'S'}, - {"preempt", 0, 0, 'P'}, - {"preempt-abort", 0, 0, 'A'}, - {"prout-type", 1, 0, 'T'}, - {"read-full-status", 0, 0, 's'}, - {"read-keys", 0, 0, 'k'}, - {"read-reservation", 0, 0, 'r'}, - {"register", 0, 0, 'G'}, - {"register-ignore", 0, 0, 'I'}, - {"release", 0, 0, 'L'}, - {"report-capabilities", 0, 0, 'c'}, - {"reserve", 0, 0, 'R'}, - {"transport-id", 1, 0, 'X'}, - {"alloc-length", 1, 0, 'l'}, - {0, 0, 0, 0} + {"verbose", 1, NULL, 'v'}, + {"clear", 0, NULL, 'C'}, + {"device", 1, NULL, 'd'}, + {"help", 0, NULL, 'h'}, + {"hex", 0, NULL, 'H'}, + {"in", 0, NULL, 'i'}, + {"out", 0, NULL, 'o'}, + {"param-aptpl", 0, NULL, 'Z'}, + {"param-rk", 1, NULL, 'K'}, + {"param-sark", 1, NULL, 'S'}, + {"preempt", 0, NULL, 'P'}, + {"preempt-abort", 0, NULL, 'A'}, + {"prout-type", 1, NULL, 'T'}, + {"read-full-status", 0, NULL, 's'}, + {"read-keys", 0, NULL, 'k'}, + {"read-reservation", 0, NULL, 'r'}, + {"register", 0, NULL, 'G'}, + {"register-ignore", 0, NULL, 'I'}, + {"release", 0, NULL, 'L'}, + {"report-capabilities", 0, NULL, 'c'}, + {"reserve", 0, NULL, 'R'}, + {"transport-id", 1, NULL, 'X'}, + {"alloc-length", 1, NULL, 'l'}, + {NULL, 0, NULL, 0} }; static void usage(void);