Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp995383ybn; Wed, 2 Oct 2019 09:16:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDwfUt+BU/udAUiV811rJ3EaeAnfuFhIG3NlObvD2hFsvw0zumwdorJAJISOQWbfe//U0W X-Received: by 2002:a50:f391:: with SMTP id g17mr4610401edm.163.1570033017812; Wed, 02 Oct 2019 09:16:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570033017; cv=none; d=google.com; s=arc-20160816; b=sI68FajaRqGfcRW7XDJ7SxnpzfwRSeLD/UOTmRHuY6lTule3+lpw8E2HEY0kGWTLn1 3PIP7bWdX8RvEmaxOmpMh29j3UhP/SuXyP7dc1RVIMjR5wT3H2BFVZgRsP78tnUu/odX J8LEw4m+vMm64Rdk6e2129/Bnx/Gb11WoKxJyDigjtYhvXYlUdsTHynZ1Rb3mznkdCMC UPyfLR+oDhy0pWVXV0zyYdblJdL6ffbS/v/T/wyyqrfl1gmfiwPpJZiRUxVhB3R5VwiO 4WZeEXKN5E7csl8guyZ4Urgy2Iuqgo0+/ICCHyOkvkroAZej7rK8hvICL/t3XBCDHfhF isEw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=A/WPUaXsRXb4AarLiZQsfAeLGL43b4rhfT5+5/3Bhwg=; b=0a1MffKUTrnjd9ZVF+y3VRKXFBJbtyCsh3RW//BQuszFywsRgMuTH1gDIghOVoqZRx 2bzuO+0Oet6s4KGCnuBxAPXP9VT+s263jCRpel3M40vx5MV9AWMQxAr2sx3hpSPu3kL7 XUSD6bFFQz/ZFkBGpJ3dInctf+WactIVkDNcEAbK4U22iqQdF3DewvLVjMILiW1iS45g OD+hBe2AS7rtXasG/sMsVeMiC4cRkZWCKBquyO+EmHNGC8BqqMthgl9YlkclqNe6yVpg zGNctWkd79As2SyExjfijA8j28V/2Pa8/xgCS//OIb1JS7JViMwVBZgEEE6vpeo8XdCz v/tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Or8zBwct; 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 r9si10795906eju.10.2019.10.02.09.16.32; Wed, 02 Oct 2019 09:16:57 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=Or8zBwct; 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 S1728992AbfJBPsE (ORCPT + 99 others); Wed, 2 Oct 2019 11:48:04 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:37065 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728546AbfJBPsE (ORCPT ); Wed, 2 Oct 2019 11:48:04 -0400 Received: by mail-wm1-f67.google.com with SMTP id f22so7516260wmc.2 for ; Wed, 02 Oct 2019 08:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A/WPUaXsRXb4AarLiZQsfAeLGL43b4rhfT5+5/3Bhwg=; b=Or8zBwctsY8Elqzo/0JuCpOf55Q+IXWHSz/Pt+bUD7zKlYNuoUa8delcjy5ux+5YNs HwVk7wfITAIThiOwJ91xWbJ6bnLvJVmhlygYBwdcabmCVOMKaOArlekS5iae072COMBr xK8mM4HM2nDlmv9L4dFM6HjzN3gNwK37enE3hPi1WuytjXHSxfnnZ8wF7Nq9/6n6U8Hm cnQjWxeLFKV0XLFbNdRLyY9A6wm5c91MK0omP7yNKHbpA5WXGEvcHkyw/FHfATYIVMqn 5pUAPlUckvjuz3Ms21JUf6+J6XMxt4bvnuoZisaDlOun0AoJZ0AnxpxeckmGby+bbDlZ UhDA== 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:mime-version :content-transfer-encoding; bh=A/WPUaXsRXb4AarLiZQsfAeLGL43b4rhfT5+5/3Bhwg=; b=ZduHFWW4yPYf9f9hacppPNqYMH4ZnHPldeYNNzM/0IFn/Lu1AYyvdEWXGgm7TXKFBZ 2n8cTLQ56PCujjVRoIotRsTzkA3vVm9kSE6XtKNguONf6JRkJ2AsL+Gh9l/pTxxW+yGb IsGTXya6lvrXQEqhsGWGTzB02javgqW5XcPQYhHwmKHwHsJUe8uuav/Vl03xeY9KrybW IZgVgkEeQMeHvPTy2FJQ7mY+oP37ayJ9L4nw5zMVvES0kBx11SWYac7vL/gLZkNLOyLb EbHWDDTsd7X/u3+NrsSljcpm7yuIXfvsx0+yiI29fEWZw9EGNB+/lPnYZbinP8Xt1FL2 3nGA== X-Gm-Message-State: APjAAAU9C1XqwklQmIG1wUqXDu37Ew2pekKoKdN0U+kXuw7++HPHHciQ I6vYInRS4LdRtax6UR8UGsKiJQ== X-Received: by 2002:a05:600c:2:: with SMTP id g2mr3423244wmc.111.1570031281844; Wed, 02 Oct 2019 08:48:01 -0700 (PDT) Received: from debian-brgl.home (lfbn-1-7087-108.w90-116.abo.wanadoo.fr. [90.116.255.108]) by smtp.gmail.com with ESMTPSA id a2sm2809345wrp.11.2019.10.02.08.48.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2019 08:48:01 -0700 (PDT) From: Bartosz Golaszewski To: Yoshinori Sato , Rich Felker Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH] sh: kgdb: fix an implicit fallthrough warning Date: Wed, 2 Oct 2019 17:47:56 +0200 Message-Id: <20191002154756.18924-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski The switch case in arch/sh/kernel/kgdb.c can fallthrough. Add an appropriate comment. Signed-off-by: Bartosz Golaszewski --- 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