Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4248648pxb; Tue, 17 Nov 2020 15:49:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNmqc6tqEvmw+hWz+8jBtCNNEyftnpyD+SYsDmiVWMcTcIIXoJbCuQgNvw0FgzzAv5oapf X-Received: by 2002:a17:906:1317:: with SMTP id w23mr21036339ejb.120.1605656968006; Tue, 17 Nov 2020 15:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605656967; cv=none; d=google.com; s=arc-20160816; b=aerVsuriQJ5dJ7Sbsn9fSWRCWx+TeG7rRJ2AURoLdw+2qBVUiAjxlzO6tNhPkrdw4R xjO99H5XvIybed1QcB1AWk8r9GwE4l6UpI5DJHtRDJel+9Kge64so6EQ8v9NXYzZsd7A P4+jx/T5scZfcU/Tx1TZ+CR51DqGdYcFXtDeu8WPpMSh1mHrQfiSM+7NhMIuKSfM7eee R26qHbuy68yvt2LcwGdxalLZuVnHdjnWFtoLNpgbbSwI2cWT58ZzCRWhWXOSdVSFcmIF F2/+fgUQaK2t433oFEbeQphjCm6Nj/P52EnDh3lA3+ygM2Hf2C2O6AeW3xDjnz1zFjJM hQ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=QGjtLHqanElR1sBICqxYoayfxnnP8lCn3ITPlF3Vj54=; b=doS791H2tRJ4NrumCGa8IY/nuHhUKx+n6LmdjoFMvLNbV4SZw2iz8pmDYMdIGWZaS6 oi5KfdLFJXm9kMWi88LjYOWbQWz2ikIE4JNIuw+RuVVzUS8JQm11/njjv0JVtEyC9e64 NHRtDzZBgSsBVpg08KEZwgzluN3JNss79CE68ail+eAVx0Q0vpOr6tMUlzU37aVwOtKY VDj594uByDUSNt7BwqLZWx/qM6EVV/PxkDCnabcDEIvy4Dnd8cPBu3VfupK4EBuUglks +Ff0G/BrpZSGAH6882bVgnU5/efDEUoaBROtyqAz3OLLyvUYxa7FqLSDirraAfcvP4JA x/zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=r9lvxBwK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo5si15143478ejb.102.2020.11.17.15.49.04; Tue, 17 Nov 2020 15:49:27 -0800 (PST) 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=@ellerman.id.au header.s=201909 header.b=r9lvxBwK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728105AbgKQXqh (ORCPT + 99 others); Tue, 17 Nov 2020 18:46:37 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:42829 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728031AbgKQXqh (ORCPT ); Tue, 17 Nov 2020 18:46:37 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4CbMzF2x60z9sPB; Wed, 18 Nov 2020 10:46:33 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1605656793; bh=oMbUvmEwIV1erVGEeTb/ximWdVDTiuB2dVzFoifZbmA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=r9lvxBwKL2lvcH3aO/YmBX6QKSfdhqSdvs2+jYAXZfQGfMyi8gvbWF/wNKIqDt5+f UZLekQp2pC1C/BlLu7cGtTAGyLV0Y1dyTfJ2Ylq9WhvgIT4OemuO7rhB9CivqX+3OW xRVxWCN8/IDpFFNug+FQ7O82Uh9ZwS448JXg+ybVWjJx//manM1a+sANmvznk9bOwq o3vuyuq4WjSQ/9yUNsiZK0WPHTMYjz/Ox4qw554fIIiaT3fqHC6eJUFtUFKczetdCl 4pv4/hsgn5Oi5gF6zkKO2ShBesne4UeWvEZkaDgZjqTDFwVHIWbAfszyu20a9p8lI0 QjqeN8fhTy7yQ== From: Michael Ellerman To: Nick Desaulniers , "Gustavo A . R . Silva" , Nathan Chancellor , Miguel Ojeda Cc: Benjamin Herrenschmidt , Paul Mackerras , clang-built-linux@googlegroups.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Nick Desaulniers Subject: Re: [PATCH 3/3] powerpc: fix -Wimplicit-fallthrough In-Reply-To: <20201116043532.4032932-4-ndesaulniers@google.com> References: <20201116043532.4032932-1-ndesaulniers@google.com> <20201116043532.4032932-4-ndesaulniers@google.com> Date: Wed, 18 Nov 2020 10:46:32 +1100 Message-ID: <87lfez35t3.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nick Desaulniers writes: > The "fallthrough" pseudo-keyword was added as a portable way to denote > intentional fallthrough. Clang will still warn on cases where there is a > fallthrough to an immediate break. Add explicit breaks for those cases. > > Link: https://github.com/ClangBuiltLinux/linux/issues/236 > Signed-off-by: Nick Desaulniers > --- > arch/powerpc/kernel/prom_init.c | 1 + > arch/powerpc/kernel/uprobes.c | 1 + > arch/powerpc/perf/imc-pmu.c | 1 + > 3 files changed, 3 insertions(+) Acked-by: Michael Ellerman cheers