Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp177522ybn; Thu, 3 Oct 2019 03:30:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjTrNfAagufvs1iYWOa3fNZ+Bf/u+v5X1OM5daMtHujBS0oYqa6GCPJqekGkJuozURU4e+ X-Received: by 2002:a17:906:1152:: with SMTP id i18mr7082524eja.113.1570098629061; Thu, 03 Oct 2019 03:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570098629; cv=none; d=google.com; s=arc-20160816; b=ZUAOvHMhL83B2NvJLNkFz/XQQJn8D9j0mlO2Z0n4Lne/LAF/st6PQPfEdqGrq07pUN /lHkfJiMPaNsFTpAhjnFAE9WdP0JtDpU4/OxWPyEIZbk361JhRMigzevB87OCpUEp3kl mHAXbY2FMdm8gnGf05buRqzp/0T24+7KXE+3I0PuOgadChhuksioUa4zTcBkes3JiIv1 Y9r9A38cF4QJTde8XqeeD5hmZsS8iMTgHPJXchoxu8BO2OIiMLps6WRodFTsrb7zaBA7 fICVtJxP4ZxOeR+fmJGIzjjACohd5kKugMSg22hqjoaqsn6LvuKMQp0lXFe55K67Aq2M JjqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8A0SaEYYe0J2Jik12kIYDJK29NXY+H6u1d3B57ETVtU=; b=UHc83jIhVWFPE0rxw01Z6p05/CFreKjovkh7bacitNIKId5py6wutcq0MQYHkk7/NU s4HyuRFcQhjl/9R9pl9dGUXFpjAuCbSN6PJ6U6+FvnpYd7NNr917oCT60xnZ6XAz+mGi rAYtgv49tkz3/idOWV3cMCWkvt2+RKkzEkzUVxKGEK+CUvRa2fRMMs8DNZBZMWCE1thw i2RmZyciuunhWls/LN2MYEulDe8qYhE6T8YHj81GMAJeTASgYvWpqh+FHM2C+zme+Z6g Kyj6AjU7TllEuhoWQ8wn3yNIpOG3OEvXKgVjrRuZvraoLwhgsNu96EU6SzM0rmRgcRyO zskw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b2BT52Hp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v31si1187343edm.402.2019.10.03.03.30.03; Thu, 03 Oct 2019 03:30:29 -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=@linaro.org header.s=google header.b=b2BT52Hp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729286AbfJCK2O (ORCPT + 99 others); Thu, 3 Oct 2019 06:28:14 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44145 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727657AbfJCK2N (ORCPT ); Thu, 3 Oct 2019 06:28:13 -0400 Received: by mail-wr1-f68.google.com with SMTP id z9so2310144wrl.11 for ; Thu, 03 Oct 2019 03:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8A0SaEYYe0J2Jik12kIYDJK29NXY+H6u1d3B57ETVtU=; b=b2BT52Hp4jqhRvrAAbkSJwgl3k/crr/1cyvLfQmF8o178ZBQZD0srr8mKn6LyCuQwo F6I7lNHhkeYyp3Z/e7UXU0qSmsD2FoOe0zZ8QrRe8MNEqRnZgARvAq6pzTFj8nIOMHS7 pW3ylXfbZsTieEyJzX6780I6YGT+38ccKJypTtKlnT7UsZR5SJQu9oVvhDQYA7dSlU4D 3ww5GhcNMkEosTczmqkNNwWw6/DqKLG+afojn1q0gETScKVbBABjNODWLryU6yjTVcKE Frdr3QT+TrMdmDW0V1bki1i/VqP2++yXCiTqtxFkL6TQBQAmSXbrwtloO4oxlOGRRLF/ jW+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8A0SaEYYe0J2Jik12kIYDJK29NXY+H6u1d3B57ETVtU=; b=o66XxFP6LrDy3aViBYue6bT2YLPgjpk4zgNooN+HQIMXumv3cVRf7YwepT/ZQa20mw LuovWLyRLTfymWh/UTxeVe3+aTnkr3jmQ/9e4MtKsX1j6TCn7B3VlXzGDKv8HGHXJzZW 8c+macybOt9IWmxgtChWSTAi5y9smbN9+A88iKpiLemwJ1viZ9YEoNQbr4JOBEshUXv9 dBlXLyKvCKmw+Orb1yCjvb2ZIG94iKPX6B8cV33fbaV4U9rv/kjIqsYpx2e+0s0zwX5k YKWoSbPxNJu4S9iptMFwpZVRULLQTlkLjzs6Q3z6WeV5zN3RZRrh4SEe9qCFcAFlpX4W zNnQ== X-Gm-Message-State: APjAAAWCuoeSQSswAVfaXyxrXwvZfC6bY2RbZrkUXQUN8v/uaPgWY7Wo qA06mTUVqRZkCSPV5o95ipEDo2/2o1w= X-Received: by 2002:a5d:67c3:: with SMTP id n3mr6031099wrw.294.1570098491906; Thu, 03 Oct 2019 03:28:11 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id x16sm1962479wrl.32.2019.10.03.03.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2019 03:28:11 -0700 (PDT) Date: Thu, 3 Oct 2019 11:28:09 +0100 From: Daniel Thompson To: Bartosz Golaszewski Cc: Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH] sh: kgdb: fix an implicit fallthrough warning Message-ID: <20191003102809.ymtwu33ouzipyecz@holly.lan> References: <20191002154756.18924-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191002154756.18924-1-brgl@bgdev.pl> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 02, 2019 at 05:47:56PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The switch case in arch/sh/kernel/kgdb.c can fallthrough. Add an > appropriate comment. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Daniel Thompson > --- > arch/sh/kernel/kgdb.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/sh/kernel/kgdb.c b/arch/sh/kernel/kgdb.c > index 6d61f8cf4c13..0d5f3c9d52f3 100644 > --- a/arch/sh/kernel/kgdb.c > +++ b/arch/sh/kernel/kgdb.c > @@ -266,6 +266,7 @@ int kgdb_arch_handle_exception(int e_vector, int signo, int err_code, > ptr = &remcomInBuffer[1]; > if (kgdb_hex2long(&ptr, &addr)) > linux_regs->pc = addr; > + /* fallthrough */ > case 'D': > case 'k': > atomic_set(&kgdb_cpu_doing_single_step, -1); > -- > 2.23.0 >