From patchwork Wed Apr 19 23:55:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9689219 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 80602602DC for ; Wed, 19 Apr 2017 23:55:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71ADD2841F for ; Wed, 19 Apr 2017 23:55:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63C0F28447; Wed, 19 Apr 2017 23:55:16 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF35E2841F for ; Wed, 19 Apr 2017 23:55:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968556AbdDSXzP (ORCPT ); Wed, 19 Apr 2017 19:55:15 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:26659 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968551AbdDSXzN (ORCPT ); Wed, 19 Apr 2017 19:55:13 -0400 X-IronPort-AV: E=Sophos;i="5.37,222,1488816000"; d="scan'208";a="108222881" Received: from mail-dm3nam03lp0020.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([207.46.163.20]) by ob1.hgst.iphmx.com with ESMTP; 20 Apr 2017 08:12:13 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AWSsogtm8Kugz7FQ/cv7INbiygoz9Vkyzg0JAgrfvSs=; b=GmwbXq7JgEpG2fUHj163XWxG7m4hNfZh77e/IHZnYVbMNSKQnT5eHFxXw91bvnRlvL+m8JeS3pRNuwjCseJJkgIvIDRU9ij/zi/ge+DqH4UBTaQ//tdhGphTXAPL0nC4on4ixf+BMOZQcTYKJoDUByDrS5liwTt8P6o5jUjEZhs= Received: from BY2PR04CA0014.namprd04.prod.outlook.com (10.255.247.24) by SN2PR04MB2240.namprd04.prod.outlook.com (10.166.211.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Wed, 19 Apr 2017 23:55:11 +0000 Received: from CO1NAM04FT009.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::200) by BY2PR04CA0014.outlook.office365.com (2a01:111:e400:2c16::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10 via Frontend Transport; Wed, 19 Apr 2017 23:55:11 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; fb.com; dkim=none (message not signed) header.d=none;fb.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 CO1NAM04FT009.mail.protection.outlook.com (10.152.90.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1019.14 via Frontend Transport; Wed, 19 Apr 2017 23:55:10 +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 5C.7F.19026.BD8F7F85; Wed, 19 Apr 2017 16:55:10 -0700 (PDT) Received: from milsmgip12.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; Wed, 19 Apr 2017 16:55:07 -0700 X-AuditID: 0ac94371-0a7ff70000004a52-10-58f7f8db6bb0 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id FE.27.18148.8D8F7F85; Wed, 19 Apr 2017 16:55:07 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Bart Van Assche , Shaohua Li Subject: [PATCH] blk-throttle: Suppress a compiler warning Date: Wed, 19 Apr 2017 16:55:04 -0700 Message-ID: <20170419235504.5463-1-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsXCddJ5ke69H98jDBbsl7ZYfbefzWLvLW2L ZTv7WRyYPSY2v2P3uHy21OPzJrkA5igum5TUnMyy1CJ9uwSujL6pSgW32Ste/J3C3sC4la2L kZNDQsBEYv//6UA2F4eQwFImiY4H21lBEkIC2xgl5syOhSlaeuAuI0TRZkaJm/fawIrYBIwk vr2fyQJiiwgoSPT8Xgk2lVkgW+LGkcPsILawgJXEnRN9jCA2i4CqxOTLrWBxXgE7ib3fnjNB LJCXOLtlJzNEXFDi5MwnLBBzNCVat/9mh7DlJZq3zmYGOUJCoItVouPPejaIS9UlTi6ZzzSB UXAWkv5ZSPpnIelfwMi8ilEsNzOnODc9tcDQRK84MS8lszhbLzk/dxMjJIALdzC+vu19iFGA g1GJhzci7XuEEGtiWXFl7iFGCQ5mJRHeB5+BQrwpiZVVqUX58UWlOanFhxilOViUxHmzZKdG CAmkJ5akZqemFqQWwWSZODilGhi3rP9wulZ+6nNX9q2dvkbph1/8ip6bo8D1WdAj4ceThTcy xI/feHT+85e0fd3BU03fKlw7nXfO3mNaH6d0zqrjKV0hu7KeG325OKlUKmDRQt98kV9Sj7K3 X2QIMHq4/N6D30849Z79Nl8lZpNyd8MKRWcJrYxbXB9OXbxyWaAhQ/mFo6Ja1Q9fJZbijERD Leai4kQAgKI6bFwCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGJMWRmVeSWpSXmKPExsXCtZEjRff2j+8RBj/uilisvtvPZnHwZxuj xd5b2hbLdvazOLB4TGx+x+5x+Wypx7Q155k8Pm+SC2CJ4rJJSc3JLEst0rdL4Mrom6pUcJu9 4sXfKewNjFvZuhg5OSQETCSWHrjL2MXIxSEksJFR4sSSc8wgCTYBI4lv72eygNgiAgoSPb9X AjVwcDALZEvc7U4FCQsLWEncOdHHCGKzCKhKTL7cyg5i8wrYSTzYeJwJYr68xNktO5kh4oIS J2c+YYEYoy6xfp4QSJgZqKR562zmCYw8s5BUzUKomoWkagEj8ypGsdzMnOLc9MwCQyO94sS8 lMzibL3k/NxNjOCQ4ozawXh9ovkhRiYOTqkGRnunY7kxZ/1XXS2et0tZMfak874ZodN9HE6Z zPqSveCv/WnhnCcSG99Lv1itX/PG+PWmRHUJvkyTewklbYLXpuryeO39p1US5bLF3LTBV3hn 066jq77NeLRhq/Exu9vvmk9xFjvqt0suDlh2Q3dP+AKBb2WKcs7hkc4pe6qYUk18XDm0FQr7 lFiKMxINtZiLihMBanx2hdkBAAA= 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:(10019020)(6009001)(39450400003)(39860400002)(39850400002)(39840400002)(39400400002)(39410400002)(2980300002)(438002)(199003)(189002)(9170700003)(54906002)(86362001)(50986999)(106466001)(47776003)(356003)(53936002)(6916009)(110136004)(4326008)(6666003)(38730400002)(5660300001)(1076002)(77096006)(8936002)(81166006)(23676002)(8676002)(2870700001)(50466002)(36756003)(5820100001)(189998001)(305945005)(33646002)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:SN2PR04MB2240; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT009; 1:gHrxnheLRcyBb0hMBq1kYK3FrvJFof6NPUkd2/h6pQcH2dSLJCLRkJdOIab45DuBu2eJ57NZtMPYCNhP/hfeyZJQnMl36+Eq8Wm2BvZt4dFuSkEpqomsiEpQMgtZzzA51ELQdDYTTBxoEI16DwmqjZzNKZAfHndPFsiX810V4yelYgoWfCtsoIKBQEwypMj/Pbv6frFcc/3atujGrryc1RQV7tg+eAESFeWsDhR44/FxIbjkbvqwK1qrobvFVipr86t+eHtig3ATvy8TrsGCuFBeWr6qZuS/1Yi0t3854Ub3ZVAfF+tycrTMhM5wyTl2UMsea8arQA2kxwYtGSrH5qKxJhw5UGU2FvOIa+lkzMg7/4yuxDG/C/iaB+4MEXyMaPSvhgyvMMSPtyNuB84GMVIOw4a0v3gLJNGfnr84y0ltOmvTWuT3eyfkbISD0QRYJ5ox2TCaqxeg61es0A8eqrkn9w3brUb/h0q6RURmzceW0deJiv2gfxeFpGf4fC8OczEU7XqVQjbruMZUjuwEyhRUmvtyA/aycMwWlDBLeBQ= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5134a604-c555-4a90-5bbb-08d4877f83ee X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:SN2PR04MB2240; X-Microsoft-Exchange-Diagnostics: 1; SN2PR04MB2240; 3:0En/C8U9+1Df5Yva39teHPWctgPnIRCLMh0ZYeFzcIMHe6xNMzKCdHEb++fgYFbGWdYEi7vKgDnAdli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YJPF+mjmSe8DS69QICtfMHmLqSkozYR8D9jFhgUMNG4ISV1OI69r0v40Y6iw1INJx5XYuJsbxrIxhV0kAgb25fhv/75aEHCg+4yIvv7fWQMyNMS8siZYTOmu5Xrr0OSvgRmMzCsR+4kgThcXLdvWCkEv44= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; SN2PR04MB2240; 20:ZjQxH890NyAhIErkXvlgy2fhX2ibROa+ok0U1MMu4yXfshkkuu54ikAocBW9GcL4DfV362HmGdccwjrhAC8+XhcPwNq5su36qtDoYD6e/v0ZNTyQ2fiOajg1pbrcw0kEXkCaiFly99DnKOv78YQvlLdPQsp0UuWoyWnzyNJV+y7HObwjtd6KQaasingrU9Muk8l61TsbMTutMWh88qYZ2QLmqkMQBvpPYwXX1VymzxqS2l8B2wjouq0d1oY/SJ4EX5v84pOHAgn35NpXi+Q+zuv44fHm7nnQpJpD4xFEkwOBJ3O4CfO4ZDsHoMq8Id8//eyW4LFR3T0cfa1otJfXwj9vZgxKjD1eZFr8vYR2fsEo/1uVumpFNO8CCFoif2HTfuui6FM2wELF5DHAWIOnnS4Tf5cpn9QUSqiul6uwsNhJc7wuvDvta+rLPc5R/7O9sbZfUKjm5AdYZhYAal6kv3cjeDLEtdax4eiqgFFvWQzKcn5SJLqK0E5xo6aRQwbA X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13016025)(5005006)(8121501046)(13018025)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(6072148); SRVR:SN2PR04MB2240; BCL:0; PCL:0; RULEID:; SRVR:SN2PR04MB2240; X-Microsoft-Exchange-Diagnostics: 1; SN2PR04MB2240; 4:BfHxwZzsj5nzbdPzNfJZOrnd/K41NNh9614hRvb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gMF07wlqhg/o3hRf9fAitUkN1mq4+R+0VAw==; 24:S8EZZc8HjLRwRSCzGASCWhKbxzPrTN4/oBWEGZm2Bdkb5JsURFmVnwqprAMPiIT6naX8SMPDsTx4O7Hp1QNN3cCAWy3V+Qyz1HHwzCiWQy0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN2PR04MB2240; 7:EKrN3U0rO80EU/ohc8siagq3Id3P4B8rJiID/ELVyVrg9fNK33gaD68t2l/Gona+7GDbdy1Zer7Q62LKvkNx83cTx+l6lGLZZd3b4w7qEw5zFE0WavIzPM/tZPj2HnDPb1hbFoyw4oTUNcYyo2HWLaxvKchDQurEcRLFddo6HdonvwTlqPiRiCUqdgtNxcIqTOlRJUxFWvxnmybbG+TNpm6PC42z9BX9O5PHoNlgfy9+Hx6bO0w/YY2H43MeRg/d6wFSN9COwz4vn4k76fiSj6nMYA8fOiNvCzhbIziLQrpHc7bVLD1yNITVOBqzrl0BIXwdrLoUcdoKjk5A0ChzeA==; 20:Y6Cjf/Tah6WmAfIyz3BNsPIzcx5+bHXTWKZur7roJwwq+LmZIRa9g3hXkYxBzCTC8FZTZjmU9DBfKzKx9+jdSTyNr5+DtGT2tjhFrSbW5f9HpxuRywFJ/oSyjxX29kUhSPMKSxWJCvoAE1pXIPUAyP3NZIzXzyQJo2cKxvks9hk= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2017 23:55:10.7927 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR04MB2240 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoid that the following warning is reported when building with W=1 and with CONFIG_BLK_DEV_THROTTLING_LOW=n: block/blk-throttle.c: In function ‘blk_throtl_bio’: block/blk-throttle.c:2042:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int ret; ^~~ Signed-off-by: Bart Van Assche Cc: Shaohua Li --- block/blk-throttle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index c82bf9b1fe72..9081ed9a5345 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -2059,6 +2059,10 @@ bool blk_throtl_bio(struct request_queue *q, struct blkcg_gq *blkg, if (ret == 0 || ret == -EBUSY) bio->bi_cg_private = tg; blk_stat_set_issue(&bio->bi_issue_stat, bio_sectors(bio)); +#else + /* Avoid that the compiler complains about not using ret */ + if (ret) { + } #endif blk_throtl_update_idletime(tg);