Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3593231pxb; Mon, 24 Jan 2022 13:03:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEziRN7WJ7aNGiFUXo1Uj4sIgqb8c+luFNT4FvXlZjOPmqxB78b8eKkct6bE4ZDXIZot5h X-Received: by 2002:a65:4509:: with SMTP id n9mr1565619pgq.22.1643058230599; Mon, 24 Jan 2022 13:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643058230; cv=none; d=google.com; s=arc-20160816; b=d/QAU8vtD2V9c8jY9/Uadaouf4AYOwN1N8IsjWxxHdQrmjCHZMlFwwdoSEwflDmRrt sT4ZGn+MGYLUnHIYwElH817VelhPcjYLD2uPqKLdtQ3PqLXh0z9qhsZwO15hF1v7Cjm7 KQsDgaRri718nVLMbWAdJI4Iqwn5fOkB4dWM6ceyVwOr4TsQbtDom4ZByDYuK/dyg+Sh My074B8X9yG0s4bcAEdoMstYcuEXAK4wRXwIpKH01zfSt0V4b+DUOlz+12zEhI79R417 8Io51rtyTsShQOL8+LxDGXLgfRX40CcqrHLlyvt1RL+J3RO8YAz4cv9+sPvHCKpkm4PA KW3g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TUdbfKVKAi0BQEiXx/x4vUB2tXJa6CHxlqTKyFgz+T8=; b=lQ15eazr9XSB/E83SRLUsnYu4W53ui/PCFDDHDOiysX+NH2/50lCuqKEFq+fkU4ccc vCDTSviuHT0a0G8vKrIZgiRj5Dqd2JmVEdJ/oIbRXnyjrCegIlru66ywz5PCsDrvkuR/ V0lrWJRO224NPf2/DM6Pu9ef6vtttjSZvcw260aAVy7mBfAopub7aAICgZibp1G7SP9L lfLWUD5L2WzRwrRw3uZrr397T7ySnfv91CXNG4Twx5y3/CGab3md9hx3XL4i7oADx0St IZu6vQz3iclOldjat3b0/FHeU5jzpGpsm0wnQia0KYsziMBi7C7FhJQbxJZ07mfhO5wC zFJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C8TA59XM; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i32si8642034pgi.668.2022.01.24.13.03.27; Mon, 24 Jan 2022 13:03:50 -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=@linuxfoundation.org header.s=korg header.b=C8TA59XM; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383592AbiAXU1Z (ORCPT + 99 others); Mon, 24 Jan 2022 15:27:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346281AbiAXTvt (ORCPT ); Mon, 24 Jan 2022 14:51:49 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93042C04188D; Mon, 24 Jan 2022 11:24:32 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 909E2B8122C; Mon, 24 Jan 2022 19:24:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF529C340E7; Mon, 24 Jan 2022 19:24:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643052269; bh=gk9HNkOw8giGGMPD+7p+DjpVIM6kP8mjUyFj3QJZWyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C8TA59XMZGvBBtUMbD3p+1swcDOqyyvc6Tm4302pOYFz7FxAp6MY0TdeXLKiEVprt 16lyxz5GVytFK+oPONlx/yBYWMGdfvkwhuk9QFSjkFoXBuCcpumFqERSbsA2Xc3RxH x5yV+SUjwnxChT3ls+jQeBBjfCvTIGf8nEbydiUU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Naresh Kamboju , Anders Roxell , Nathan Chancellor , Arnd Bergmann , Michael Ellerman Subject: [PATCH 4.19 218/239] powerpc/cell: Fix clang -Wimplicit-fallthrough warning Date: Mon, 24 Jan 2022 19:44:16 +0100 Message-Id: <20220124183950.039483697@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183943.102762895@linuxfoundation.org> References: <20220124183943.102762895@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anders Roxell commit e89257e28e844f5d1d39081bb901d9f1183a7705 upstream. Clang warns: arch/powerpc/platforms/cell/pervasive.c:81:2: error: unannotated fall-through between switch labels case SRR1_WAKEEE: ^ arch/powerpc/platforms/cell/pervasive.c:81:2: note: insert 'break;' to avoid fall-through case SRR1_WAKEEE: ^ break; 1 error generated. Clang is more pedantic than GCC, which does not warn when failing through to a case that is just break or return. Clang's version is more in line with the kernel's own stance in deprecated.rst. Add athe missing break to silence the warning. Fixes: 6e83985b0f6e ("powerpc/cbe: Do not process external or decremeter interrupts from sreset") Reported-by: Naresh Kamboju Signed-off-by: Anders Roxell Reviewed-by: Nathan Chancellor Reviewed-by: Arnd Bergmann Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20211207110228.698956-1-anders.roxell@linaro.org Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/platforms/cell/pervasive.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/powerpc/platforms/cell/pervasive.c +++ b/arch/powerpc/platforms/cell/pervasive.c @@ -90,6 +90,7 @@ static int cbe_system_reset_exception(st switch (regs->msr & SRR1_WAKEMASK) { case SRR1_WAKEDEC: set_dec(1); + break; case SRR1_WAKEEE: /* * Handle these when interrupts get re-enabled and we take