Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5990326ybc; Wed, 27 Nov 2019 13:01:33 -0800 (PST) X-Google-Smtp-Source: APXvYqz68+8QUhaQXOqmYcr0YkYq6Z8qAlgO3T5hPKs3ztps8CUO+SXlunCD1h8/isl+Ov8WpzRk X-Received: by 2002:a05:6402:21c5:: with SMTP id bi5mr34675408edb.7.1574888493533; Wed, 27 Nov 2019 13:01:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574888493; cv=none; d=google.com; s=arc-20160816; b=HYamVitLyIr9W6J/fCsCFJBwXP32oVJWHoEJw/bfQ/VYeDlL/Uyh4rBxysq0PwRUn7 RqMyQQeJ0W5WYr6BR0EAbPgS85q0Ei45SevjkfiBhZ0h0Lvk8NqkMXFpj9X9NJb8pRJo q2+Xm1j+iS/Rx7rfxHQI0OF6GzjgVrEQUyCTEgsQOb/Di9dUefRwQgtBhLUwM4fJG1oL VOyB2scIwwkd+rxacKerNGT8ZJbxRQsLNLLcxpgeXMbCuovwAi1KQ8w2NImtLZ5zj5lg 8sex+p4QmpCw6FXM8Q51iIB/QSGP0lpzeeELoToGvPD43+UMc6Rm8DdtxlEc1co/btbN MgeA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RYfKn3hwbUIIlV9D4b+CQtadfYuiYdrMdCB3NwIk5vg=; b=S9bG0lWJresMuMxfCKzj09kA0SgS67hlUEfpWmQPs8peqoyoqL95iLCapSJXQozEoc 7t7ghlrdyUHnaM2BYnjpFw9+TpWvk1YZPpTGrXBAtU+KS23EyT9ghYe+7QjZV15XEVNM RFtFT6wDps9JnDr6QYZa8AN1ZE9I3KAa+/pRcZOcGGHOfR3Z6q2GAHrfCXmhEx5ju4X/ Kqp3PyYjGUv9+fXnDJsC/1JS4JPnajTNmFr9xWYqtGXQdB57HpPPW7pivtA91M8JOzN0 W7/p9z6u5XyLIzFXRMgaQww3LeMM2FdfAjdgdHAlNj4DvArXFehwcCs8qAlgemdNNh6m 67bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jr2g36wR; 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 l26si13354311edt.143.2019.11.27.13.01.09; Wed, 27 Nov 2019 13:01:33 -0800 (PST) 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=@kernel.org header.s=default header.b=jr2g36wR; 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 S1731289AbfK0U6L (ORCPT + 99 others); Wed, 27 Nov 2019 15:58:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:49356 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730355AbfK0U6I (ORCPT ); Wed, 27 Nov 2019 15:58:08 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AA072084D; Wed, 27 Nov 2019 20:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574888287; bh=Qu4UXCaOZOleywbTOQooncLWSu1yX+qQ4EtAGc3XE4c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jr2g36wR3UEaQUocLAo2B+x81qFkRRrbgNdHIgmzjLqd8IzlDBD1gAHyJarAn4X4g hZDKdEbRLvTKlywwlB8H1K30oNevtz9TL/dZpjXM/VzvI4bwjLucgElBfEF9P7UtBm cGyQ8QqQQhfVH/dyL1GHJRD/k+W3cGpIvSLVQmak= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bart Van Assche , James Smart , Christoph Hellwig , Sasha Levin Subject: [PATCH 4.19 076/306] nvmet-fcloop: suppress a compiler warning Date: Wed, 27 Nov 2019 21:28:46 +0100 Message-Id: <20191127203120.423879128@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127203114.766709977@linuxfoundation.org> References: <20191127203114.766709977@linuxfoundation.org> User-Agent: quilt/0.66 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: Bart Van Assche [ Upstream commit 1216e9ef18b84f4fb5934792368fb01eb3540520 ] Building with W=1 enables the compiler warning -Wimplicit-fallthrough=3. That option does not recognize the fall-through comment in the fcloop driver. Add a fall-through comment that is recognized for -Wimplicit-fallthrough=3. This patch avoids that the compiler reports the following warning when building with W=1: drivers/nvme/target/fcloop.c:647:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (op == NVMET_FCOP_READDATA) ^ Signed-off-by: Bart Van Assche Reviewed-by: James Smart Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/target/fcloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c index 5251689a1d9ac..291f4121f516a 100644 --- a/drivers/nvme/target/fcloop.c +++ b/drivers/nvme/target/fcloop.c @@ -648,6 +648,7 @@ fcloop_fcp_op(struct nvmet_fc_target_port *tgtport, break; /* Fall-Thru to RSP handling */ + /* FALLTHRU */ case NVMET_FCOP_RSP: if (fcpreq) { -- 2.20.1