Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp1174641pxy; Sun, 15 Aug 2021 12:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNFGHpzcOVWWgSf6FQuHbIa0dNCTeQsOtY8d4Y7HSdEjHzI7Wz7lWZDjESvwlyuv8GxSB5 X-Received: by 2002:aa7:cc08:: with SMTP id q8mr15973967edt.225.1629055267909; Sun, 15 Aug 2021 12:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629055267; cv=none; d=google.com; s=arc-20160816; b=NoN4Ix0B3u5i8cVb4Jmox/mLoumP2wGGLBv571ICB6cztfAXHTYfHsEDQwb0A/Tl2V i9sxJt595YRQktYxKt/wm2g+B/haEm15lxeQZ21DHs2i/28oD9TFyU+eflvdETfycIPP GFlUnfYBkYTiHUyFw4jMuDUsgjvHaWntoM1E0JjdiIWqPMYx6pnCbwxs0MHIv+D0Ousm 2JbUi7t08YRrFXPIcdrS9WEmwGK15leF10uqrKL5pRTyKd8C5NFAvscZ6KDQmIvUa86B JGu+9dDduYHat6tF5Pazhis4+K/2bTzePv+BbjxWPfrqcChDv59c23QQt8lIFObSDxDd YcUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=orDKLkr9r0ftxd9cGlAsoQFjVLVuz4yUhONZhTOHi3I=; b=EvyLEsiojyxgUwPB+I67k0oV0Emd2WLQMzr0UCFPtn6DO8Uh4xCfTJC9idbHnwao2h Ke+ad0Xry8cgE+L5pE2hNSV1TN+2ip20UUqQ5tLlgMXAxxdFW4otRPTCYdSKFVjnHWuW 1AZYeeGu81PfPIsWLXuJcBobMCkoF5Lnn7Uq5td+CFTS7U5ZdyLlma8i3P4a0AS1rk/x t9yU0UabtXGkANd1kqIpPIq6ag+vr9Ebp33vrI/cMdRiUNV7g8AXmq0XAd5o6hPnpENO ybFYOah0lSoku97hgEx+7uDOcMvnaB1ECvXYOqc1C35xCHO8ZP821XvV2xu+7QyEz7v8 ZNeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R3Fz3fI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si8384354edx.139.2021.08.15.12.20.45; Sun, 15 Aug 2021 12:21:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R3Fz3fI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbhHOTTs (ORCPT + 99 others); Sun, 15 Aug 2021 15:19:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:37276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbhHOTTs (ORCPT ); Sun, 15 Aug 2021 15:19:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2AD8E61154; Sun, 15 Aug 2021 19:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629055157; bh=vFri3/vXIMu02ObBTeiWGSxtmvcRFA1HLVO3vsc45Uo=; h=From:To:Cc:Subject:Date:From; b=R3Fz3fI06WiXuvz6BdkbGqVmg1oik6J4Qhk9Y/hlqcLzLpiegq0vaQVd1J7eSEseT v0x5hXegX5+ogxsLRVuRxA+6f/eRsGkC3/jONuQ10qKwJ/4VzJZ1i+LYmO9d2IMkif DANOLsN/IYYyeA61tuFal3drKrLlFhfJWIMeQtXtDJHY3lebkjCD+LDgEPb8z7nUbh 8BR/1Q3RJkiWa4jPC4SKHpsfHttuk+3ZlGBIvYNNGIYj4HnFHdRJNDKxXXSsvQLF1N 7sdoGMqODodWjfrTRTPR7SY3wE10WhG9OefS1TwP+VtE58y1ch4qsgPz5kTuwbtLyG O3FDP1uWKXhtQ== From: Nathan Chancellor To: Tony Lindgren Cc: Nick Desaulniers , "Gustavo A. R. Silva" , Kees Cook , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor Subject: [PATCH] bus: ti-sysc: Add break in switch statement in sysc_init_soc() Date: Sun, 15 Aug 2021 12:18:52 -0700 Message-Id: <20210815191852.52271-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0.rc2 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After commit a6d90e9f2232 ("bus: ti-sysc: AM3: RNG is GP only"), clang with -Wimplicit-fallthrough enabled warns: drivers/bus/ti-sysc.c:2958:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ drivers/bus/ti-sysc.c:2958:3: note: insert 'break;' to avoid fall-through default: ^ break; 1 warning generated. Clang's version of this warning is a little bit more pedantic than GCC's. Add the missing break to satisfy it to match what has been done all over the kernel tree. Signed-off-by: Nathan Chancellor --- drivers/bus/ti-sysc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 0ef98e3ba341..afe8222db7cd 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -2955,6 +2955,7 @@ static int sysc_init_soc(struct sysc *ddata) break; case SOC_AM3: sysc_add_disabled(0x48310000); /* rng */ + break; default: break; } base-commit: ba31f97d43be41ca99ab72a6131d7c226306865f -- 2.33.0.rc2