From patchwork Wed Jun 21 16:40:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9802301 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 C6F7560329 for ; Wed, 21 Jun 2017 16:40:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD86F28632 for ; Wed, 21 Jun 2017 16:40:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB9F928659; Wed, 21 Jun 2017 16:40:27 +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 11AA128643 for ; Wed, 21 Jun 2017 16:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751919AbdFUQk0 (ORCPT ); Wed, 21 Jun 2017 12:40:26 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:7162 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751674AbdFUQkY (ORCPT ); Wed, 21 Jun 2017 12:40:24 -0400 X-IronPort-AV: E=Sophos;i="5.39,369,1493654400"; d="scan'208";a="129923239" Received: from mail-sn1nam02lp0024.outbound.protection.outlook.com (HELO NAM02-SN1-obe.outbound.protection.outlook.com) ([216.32.180.24]) by ob1.hgst.iphmx.com with ESMTP; 22 Jun 2017 00:40:23 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VLHHGdEo4+F2B/sXtDYixqEKth1j5nB1q1I3s69aatI=; b=B8q6RaHVfi9R2pQDkbvpR7aLnkjq8FWluAgMIVQPS0vj+/yiCvmmmyp8CtUwLUwURlHsNviZzWSVkXk8kh12+m4ap/zeIeVpIgpgi+VwKTVI2Rl7ZZmw6vGoYiTQF0vuQO50g6JY5mdb6VYSWcDzaykcXLpAPvKOb6ejJVGnT50= Received: from MWHPR04CA0047.namprd04.prod.outlook.com (10.172.163.33) by BLUPR04MB546.namprd04.prod.outlook.com (10.141.29.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Wed, 21 Jun 2017 16:40:20 +0000 Received: from SN1NAM04FT064.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::205) by MWHPR04CA0047.outlook.office365.com (2603:10b6:300:ee::33) 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; Wed, 21 Jun 2017 16:40:20 +0000 Authentication-Results: spf=fail (sender IP is 63.163.107.21) smtp.mailfrom=wdc.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=wdc.com; Received-SPF: Fail (protection.outlook.com: domain of wdc.com does not designate 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by SN1NAM04FT064.mail.protection.outlook.com (10.152.89.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1178.14 via Frontend Transport; Wed, 21 Jun 2017 16:40:19 +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 B4.EC.02805.171AA495; Wed, 21 Jun 2017 09:40:17 -0700 (PDT) Received: from milsmgip11.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; Wed, 21 Jun 2017 09:39:30 -0700 X-AuditID: 0ac94369-9c18398000000af5-e0-594aa1710197 Received: from exp-402881.sandisk.com.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id AF.FF.11415.C61AA495; Wed, 21 Jun 2017 09:40:14 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Christoph Hellwig , "Bart Van Assche" Subject: [PATCH] block: Add fallthrough markers to switch statements Date: Wed, 21 Jun 2017 09:40:11 -0700 Message-ID: <20170621164011.4409-1-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.13.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsXCddJ5kW7hQq9Ig+MfdSxW3+1ns1i5+iiT xd5b2g7MHpfPlnrsvtnA5vF5k1wAcxSXTUpqTmZZapG+XQJXxonPHAUveSu2Hd7L2sA4jbuL kZNDQsBE4njDFvYuRi4OIYGlTBIXZv9h7WLkAHJ2MEpsU4KpuXdvLxNEzXJGiRcTnjGCJNgE 9CROzdvHBGKLCChI9PxeyQZiMwvkS0zZfR/MFhZwkViw+gVYDYuAqsT2ndPZQObzClhJPHnt BTFfXmLau15WkPkSAtdZJJ7cvgBWzysgKHFy5hMWiJkSEgdfvGAGsYUElCXOr33CNoFRYBaS sllIyhYwMq1iFMvNzCnOTU8tMDTVK07MS8ksztZLzs/dxAgJxswdjHefeB9iFOBgVOLhtajz ihRiTSwrrsw9xCjBwawkwvulCSjEm5JYWZValB9fVJqTWnyIUZqDRUmc95zM1AghgfTEktTs 1NSC1CKYLBMHp1QDI4Pnt+wM/fLE4Hf2xqUrXn879lpJWOTcBf+ICLEu14NZz81tdIM9o9ws khbty7I2Y545gd1lg/hKaU0p3todr5687LoWWH3FgKH8jcqE6C2/9q+cvZ3Newbn05zeKRbT 0223tdtGPFsTfXB1QRT7DtUzdfued+gLMK2ZZKx+Ye10U0Y/t3mBSizFGYmGWsxFxYkACJtF kEICAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkuLIzCtJLcpLzFFi42Lh2sjJppu30CvS4Pk2TYvVd/vZLC79+cJo sXL1USaLvbe0HVg8Lp8t9dh9s4HN4/MmOY/2A91MASxRXDYpqTmZZalF+nYJXBknPnMUvOSt 2HZ4L2sD4zTuLkZODgkBE4l79/YydTFycQgJLGWUOHlvCSNIgk1AT+LUvH1MILaIgIJEz++V bCA2s0CuxIJFS9lBbGEBF4kFq1+A1bAIqEps3zkdqIaDg1fASmLF3GqI+fIS0971sk5g5FzA yLCKUSw3M6c4Nz2zwNBQrzgxLyWzOFsvOT93EyPEj5E7GJ9OND/EyMTBKdXAuOKpQsK5ALGL VZkPFu7sbBY6uObHA+M/t1ZKVF3KYQ0Xnm996O0/W1H2dQ0ZroeFG7zqF7LO+PXi16lPKzgX 2frLWIvcv/O5Mf/+hNjN/yOnc31P2Cj11LROrPXhlAdRbxald8oqrs25HFWoE3nX5suJ/IeH 0xpmNnL3nX4ieW+xt6//9+mdukosxRmJhlrMRcWJAMzOyuKTAQAA MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39850400002)(39410400002)(39450400003)(39840400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(50986999)(5660300001)(2906002)(6916009)(6666003)(189998001)(36756003)(5003940100001)(106466001)(33646002)(72206003)(966005)(478600001)(356003)(305945005)(50466002)(50226002)(8676002)(81166006)(8936002)(1076002)(53936002)(6306002)(110136004)(38730400002)(54906002)(47776003)(77096006)(4326008)(85426001)(86362001)(575784001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR04MB546; H:milsmgep15.sandisk.com; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT064; 1:u9ZA+Tcpby7h01rKmKNBJcPC2WrsblBx3DMMkMiVXBcqykBhgnTPVJWPEvBlVmQb1aPWQY0pTWhLAkeEJSXrqxSRZ44am1vjde2PXC2zn6RKPFIc4U63UJslsFTLWikZaHNXpq+C6T0RPm+iyMz6PRoTWJIvft9LllvlcSiH++LUWM2eFyP4DQnFr8RDYCl8m9L5cSGiVkK3ldF4h4i2nWtdfbS5FdalqRdSFc2wNaSnf6h1cZRL8f9TEj87z+3zG3S1oEWxi1Utz0qyiqjtXX5KT+avhXoq8mRHp6TYjgEmIby0GyWBWysb2Ql6QWwdzwMlzxCwT6GPP2jc9COj15Ll98z8E8su6YWbLvo4S8EOVHZkklhdQEGZOh8DszYtCtyxBntcpggzTxs6e5/HF3VAutD89sNsxNzVIV8euWW2Nc7mJcSymM8yG1NFo4plXb5pW4fzZ6T4O+4nLN1u57OnF9GmyCkLIPq75Ys9k3Q3tk52mT/O+OxyJN7uFUQkwXMG9bYn3NpEOXq/hI0ZEISJhykXTpcVTDfat3fBsoyRxCJxU0Amib+WQ4jaZbMRz5V1jQYq10QKDUEEcAPfLGNV4yB9KepNBOVNi+y67SYiXWLeZwSFCmkC5F9+z8Srb5wlGui2mw6ZGLtJGDYIYKhRPMTJCTzwCPax2KwVcp1t+WIpPHgSQrdC5EFENoYOOpLj0vqhEI8GP0ZKkF4XdQs8dRTrYap7JxvdmrBsWkk= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ba937d7-5a28-4ff9-ea33-08d4b8c4347a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500055)(300135000095)(300000501055)(300135300095)(22001)(300000502055)(300135100095)(2017030254075)(300000503055)(300135400095)(201703131423075)(201703031133081)(300000504055)(300135200095)(300000505055)(300135600095)(300000506048)(300135500095); SRVR:BLUPR04MB546; X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB546; 3:et36/Mih5mRgJdJkcnpIqAk7hLfl5bqLMGgMb60fwaozDnRZJRKk1d1EKGtiWyK7iALjqcf1iYuUvb3pE7X4VvXKLMvpRkUcvPpmOzoVZ47SgEwZVhHtj+pO+vhRZHb57nyu44DN8kOljS+G7f9+LaB8FqQ698/9+rZewhEElSaQajQoGb+4ShiYetFKr2onblSX2MdDu1GDUKq+sWe4es1Suai8pq7RLPh2yxz0aR4MbpBucn5V4kGeuL/zdjlyenKiyBZ2EgNujgJ6B4rDUidwHsCQMyNyIihvRmi/1FYrYRWw30YYOU426vwZPHvbRTlylY4BIXvktekiS6H+RFySM1bOwRfr9SQoL/CLQBorJWRbYU/ppr97dKR2LiPBK2zJLKLlMgupWsGV/72TjH1Wod3+Jia74QU/TVKstICJCM2NSXdgN3nz756GsM0KR7upIDkrmtxhKzGZLqwcmgZCbDm0Z4HX/XpTGwQvWfFd0KtZP4K0+vWpy3fw2WKJT7FjUJrAHHA99YBX/xMSXlaD6trbzB3Vb5BnBcqGnEaxnlvGKNomahsZp6CY4eGKuL1HiY4fRacp/pG5u+WxKABLbE2pKRI+ZSJQYOlsq20vlazU6HgkmzOlHhVBaXYNHp/71ZX2g89so35UPHQC+MxhnxFRB1eNinXJGhtRVtnzYNsutWFQaAHDkv9z6Q7VPJRt3qU2x9dB8/iK8Li5wc6M2nGqwUTXulZ0hppjn2QQ79CmY574ac/fkHWqWYwhviHcWvN+4L8z2ax5FYNrFL42Ox72u1EJGZPuiGJ3Phh5kTdt6MMK+VRFSlK003xefOJwPEG48ipYa3W3B3AlJZafWmouLrz9Vv+Riw0PqycS+uFspkm6z8mSZfdFnQAj X-MS-TrafficTypeDiagnostic: BL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JdRrCGXf3aIsZD+CR48a+iGiS68uZX0jwAI4T+h6i3eazi0Xeb+AiVgVKyO3O30cAeZtP8Vvl+B9yuQcrIhexGOr/xTt3ldPYlhAwMnPLeEh7mYK5lKVMljX4zVhAc5+rTro/jFRQbW5XwLnauGsw/ojZljCvKMCOt8fmcLQ4ZfV X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(22074186197030)(183786458502308); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93003095)(6055026)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR04MB546; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR04MB546; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR04MB546; 4:IDn4J7T4WBIwPsD15CCqcR+4L6+Es8t6W+RTyIaT5i1?= =?us-ascii?Q?o3jMaPpfGzqNfaj5ZSgTvgdCuiR5g+kOzF0aV8xeqTlH2zryhzaEmZRNOlxg?= =?us-ascii?Q?+3KJ4y6mJ6amgPaciWMOGxQTXfU+yl5URRcBxagYXQhC/o93XRjrMXtiZ45y?= =?us-ascii?Q?nwirR9I2kcmI3RJ5sRLi6Ojt4K4BhqshGN6wujT9hZTggkoKQ2IGkoWkve6I?= =?us-ascii?Q?Cmww8a3IMFhUD+WF9UEiOxRjpAl8QdWSuyjUZMb+Vldcd7mP5F/dSydWRWuu?= =?us-ascii?Q?r6LWDpcLvYtyEaUnHzRIUOVp8muUxo/m03o4x/6rVZZ4QF4hBc7M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L/hzJimS2Upon6TL8fRlZg4P974s4eBhFV4WQQWtESp1gUJqSu5NSuEDR3viZLRqZlUvk1FgVwArGX87n75h8Fn4W3hxi+MxvzM8dymLs9YlWQsS2DGd9NcgQeL3V0B+1igIMGsQkYCOV5KLdyIGFSjjgAWT20eSwFZeGn7ut2LyLDhdTxC3M= X-Microsoft-Exchange-Diagnostics: 1; BLUPR04MB546; 20:TdguHO7LkOpfBi0xEUzrTRqew/0fMVIiiWSWCfxAbvxnq6tRQZAsXY5TTllW8e43dc4lN77xIB+fL2Xuvsosa3JnWAH7H5n14T4DR1Q04cmtCbPcxjvQD768FOOKFqvViThNH3cIKxiuCnvOh8uc1fgr1JYSD4a058PiFZduTTk= X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 16:40:19.6498 (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.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR04MB546 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 This patch suppresses gcc 7 warnings about falling through in switch statements when building with W=1. From the gcc documentation: The -Wimplicit-fallthrough=3 warning is enabled by -Wextra. See also https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/Warning-Options.html. Signed-off-by: Bart Van Assche --- block/badblocks.c | 1 + block/elevator.c | 1 + block/ioprio.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/block/badblocks.c b/block/badblocks.c index 6ebcef282314..43c71166e1e2 100644 --- a/block/badblocks.c +++ b/block/badblocks.c @@ -533,6 +533,7 @@ ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, case 3: if (newline != '\n') return -EINVAL; + /* fall through */ case 2: if (length <= 0) return -EINVAL; diff --git a/block/elevator.c b/block/elevator.c index dac99fbfc273..4bb2f0c93fa6 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -681,6 +681,7 @@ void __elv_add_request(struct request_queue *q, struct request *rq, int where) */ if (elv_attempt_insert_merge(q, rq)) break; + /* fall through */ case ELEVATOR_INSERT_SORT: BUG_ON(blk_rq_is_passthrough(rq)); rq->rq_flags |= RQF_SORTED; diff --git a/block/ioprio.c b/block/ioprio.c index 4b120c9cf7e8..6f5d0b6625e3 100644 --- a/block/ioprio.c +++ b/block/ioprio.c @@ -75,7 +75,8 @@ SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio) case IOPRIO_CLASS_RT: if (!capable(CAP_SYS_ADMIN)) return -EPERM; - /* fall through, rt has prio field too */ + /* fall through */ + /* rt has prio field too */ case IOPRIO_CLASS_BE: if (data >= IOPRIO_BE_NR || data < 0) return -EINVAL;