Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp538802imm; Fri, 13 Jul 2018 01:51:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcPiwy/FJ1vAxD6Y5CzPs1Cz4qyxjM4Hl6wYvBpzaHoB0B21bBNgs1BI8Vg9M2Li7TWQbRU X-Received: by 2002:a17:902:48c8:: with SMTP id u8-v6mr5552848plh.152.1531471895467; Fri, 13 Jul 2018 01:51:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531471895; cv=none; d=google.com; s=arc-20160816; b=ZzaTm9yfH53w6oP5MWDy2708uYdXx4QVEYW50PraWvCCjYxOfzzuoUdBzCm2r9KwRc AGb6IKSvwuEakbqTHpCSWS2X02ToipAL0/eV9gq0iVWJMhgsxI7lanQr1CEE+KDjYJlg w9TittRS+bEN5/sp8jX7caweDg2NuXCaLyP1eSf1Ee1PFLuKGVzFQHFDRoUMgJ75zKNL sVpWZ79KUttYWVhDBAR0uDe4WWBRxdY20Yxo12okzR//MDFodwzY3098lmiQQtuhAivs yNPqAuHLwpnAG0kF+qDNcRze7X8qtzdxfJf3kLc2Lh5NDqJmtEepuhf96chAocZsPGpB 9Yag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=9UPgCz6mZo/gxq+gky8+iGIL7r/BsjwIOVVAtPdduZU=; b=YP21+MElBYM9kTjaP3JMfX1UvkxjenVl999Jb62ZK7OtQY80mhRAS29+iV7N2B91/v wopBLk46Brs5j4o7fumuHr4bLJ8B7V2yuviCQpNDNjBL/PPKLq6UBsLP00hHNl3KiIro RvVX63jlZvzPOS07zv54y1OdzeF4D7jD2cXyUWcRs+2ABNpTfvdwlmf1U15iyaZcdUkY KXhOqG0/+b23W/FX6sA+IgelUREELhswdGdKv/n+YxH/oydej7ZpPd94/Z146+tnjfe4 FN48fO5oKSAI5rGTa20dprpdVFEfSg7e4rrBArVvgByMcSi8QYc9vBJdfT/4MUPHrQXn uIoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=sudOSFu+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 87-v6si24108992pfi.60.2018.07.13.01.51.20; Fri, 13 Jul 2018 01:51:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=sudOSFu+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731225AbeGMJDY (ORCPT + 99 others); Fri, 13 Jul 2018 05:03:24 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40316 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730848AbeGMJDX (ORCPT ); Fri, 13 Jul 2018 05:03:23 -0400 Received: by mail-pg1-f195.google.com with SMTP id x5-v6so4790630pgp.7 for ; Fri, 13 Jul 2018 01:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9UPgCz6mZo/gxq+gky8+iGIL7r/BsjwIOVVAtPdduZU=; b=sudOSFu+iPbvmfmVsR6CboCibaBXyd1Q0XQ5tCqJDqVJGqThBzcUQdQERbTbVqjhgb XqvB+yd3flPd9508/STdYDRDs/LFYLFDtv06YA7qczXWY1diePGVL732Caodrl3EMDlu 8fQ5adQwCu7Y+usyW348C9dtE4eOjY/rouOeE/tU4biyd1wXAP2huWAe/cqDpQClSEx+ BDjbXlm9hg5VOz2YChDy5vN+F6MfGTq1/82rMRp+0AlhL+b5VkNT+qaZm1N+4fIeWUZX BPlSKRdfuWyYuEaNy//l+j9BBOqwbrgbVG/KPvAPKkXYxpqTy/zeX1/k1Ol3tNf3519L Hkdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9UPgCz6mZo/gxq+gky8+iGIL7r/BsjwIOVVAtPdduZU=; b=S3TDnEdmHPn8SBP0VWR14eGRqbC5tV+42wThEucqCCRDtfQPZM/FKRShzYXg/p4jUO J9FXu5+M4ASC9xs1BlbL9OMq7DrW23bTXqm3ew4NnLH4Hq0PQga2CBtZdTBxNb5MCCkt 5rahKXC0VCY+caHvXy8wniGUuoWwONQjqHWmHUNgQoALEYcS4xU+k5EkAp3sd4306kNK 7+VbhCpYXkDcjF9vA/XbwodvVdQ7yEG9wmTwpGtZB9rvFRYNocnwtXYptuhiUn8rYQwK hK0TZeiDNnibEosoxhdokrC+QOn6S5IAIIS3mAiCw30sXXv0jIgWsuohq0pfD9Va4m0d Sv2A== X-Gm-Message-State: AOUpUlGYTM6bSg1tm4rZPm9qjIyjDz9IRACsxDm7Iz5uuTcQ3gQAYt5q BNyyD3Wus1FE7h1kKNJUhm0N9Q== X-Received: by 2002:a63:107:: with SMTP id 7-v6mr5177447pgb.289.1531471783133; Fri, 13 Jul 2018 01:49:43 -0700 (PDT) Received: from skyninja.hgst.com (rap-us.hgst.com. [199.255.44.250]) by smtp.gmail.com with ESMTPSA id d18-v6sm569357pgo.74.2018.07.13.01.49.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 01:49:41 -0700 (PDT) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: axboe@fb.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, bart.vanassche@wdc.com, hans.holmberg@cnexlabs.com, javier@cnexlabs.com, hlitz@ucsc.edu, igor.j.konopko@intel.com, marcin.dziegielewski@intel.com, "Gustavo A. R. Silva" , =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [GIT PULL 08/10] lightnvm: pblk: mark expected switch fall-through Date: Fri, 13 Jul 2018 10:48:43 +0200 Message-Id: <20180713084845.19511-9-mb@lightnvm.io> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180713084845.19511-1-mb@lightnvm.io> References: <20180713084845.19511-1-mb@lightnvm.io> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Gustavo A. R. Silva" In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/lightnvm/pblk-core.c b/drivers/lightnvm/pblk-core.c index b829460fe827..00984b486fea 100644 --- a/drivers/lightnvm/pblk-core.c +++ b/drivers/lightnvm/pblk-core.c @@ -264,6 +264,7 @@ void pblk_free_rqd(struct pblk *pblk, struct nvm_rq *rqd, int type) switch (type) { case PBLK_WRITE: kfree(((struct pblk_c_ctx *)nvm_rq_to_pdu(rqd))->lun_bitmap); + /* fall through */ case PBLK_WRITE_INT: pool = &pblk->w_rq_pool; break; -- 2.11.0