Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3663215pxb; Mon, 24 Jan 2022 14:47:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxULnhlB9pyPpWYxGKZclWdGY6oYjPa2/5ZRSYN821+0Btz6OcYliqOxVsd7LnvRY0CGtsC X-Received: by 2002:a63:81c6:: with SMTP id t189mr13313555pgd.417.1643064439627; Mon, 24 Jan 2022 14:47:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643064439; cv=none; d=google.com; s=arc-20160816; b=SX8ZtnRH/KFx5XJMJZLP49T3Rl8yccyy+3hhnmw5uINX4max91xKFYK37NAQ0qg5tO Rh8HWTgKOUC0ubAj7QsZA48QXXoIrJ8R7+jq4yf2tiZDxRLAcQyyA7vkt0WYO1d0Lrmv 1b338VXCHw4nGGcxIZC8Z8BRrQfph63H885NLX0nk3ZDb3db3hloO4J+kESejXo7MyKK cCvuyVBxs8tnDvUOpu5OUREMkLUfUky+U/K/WAJPo9OCCppYHaxs0PSxj7nz8ARIAIsF EAthyZpH8Qkuwi7j0c4jwiqFuBNQK5ZnbasOTEt8Z8qoyTpec+Fx4G23dEY0pbCWFI01 jqog== 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=v9kUfDTcclYJVak1vcFCU64kkm0z/pIo7GKYR+XAyfc=; b=d5mnYVpc8dSg+dCrfdHv5JKd5Lyo2yjTgGGMlPIELQyaJcT+2La4t/VnZ6VoHsz00j GabWW1Tng2RZdvKRXQRIbYWithjoUt1pslEzTXTV+a0Ur7SHvpeOLUMffQ2GdBkvRj09 sOkuWRO/Yi7uF7SMLFINUzO0JAwK3tQ1WugrD/ug4KVVOaC78MaOrEwHQJUCLVdudrx4 1MaGEgBVfDMy5/yYoozBE7J/RoUQbIpEwu876gKskjIrZHQh8HkJuDe5q8srG/X0fjYq 41luZapGut5THob8JRPs2to62bzLOQ7aOOS9Kf5jqtSg5t7dRT0ZO3oTOUJTyYsw5ORy GPiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hZdl742s; 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 b37si15367647pgb.385.2022.01.24.14.47.07; Mon, 24 Jan 2022 14:47:19 -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=hZdl742s; 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 S1579517AbiAXWn3 (ORCPT + 99 others); Mon, 24 Jan 2022 17:43:29 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:58172 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1456656AbiAXVjp (ORCPT ); Mon, 24 Jan 2022 16:39:45 -0500 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 dfw.source.kernel.org (Postfix) with ESMTPS id C57F961320; Mon, 24 Jan 2022 21:39:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C0D1C340E4; Mon, 24 Jan 2022 21:39:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060382; bh=+BDUmWzDpbNKA6uaUxFGDtNlu/yX6lufH5trVT1hoQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hZdl742s60GrL+W/FNMoCM0YsskyQimzX1d/RkPOy4SFCInSEj/fYZW/Hp0wrDtHC l1SLUnQtZw2j35YBLX1JK6KyPNfQTez7TqivhdV23rogdz8yoOKmjzpsnqtpuYblLE JKCITLp2pxtScglynkYt/yxH/uJpDMc2yVz2G7bE= 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 5.16 0929/1039] powerpc/cell: Fix clang -Wimplicit-fallthrough warning Date: Mon, 24 Jan 2022 19:45:18 +0100 Message-Id: <20220124184156.519856258@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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 @@ -78,6 +78,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