Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3738911pxu; Mon, 30 Nov 2020 09:17:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJx76HxKF1KFk4/VS9704g2LIy6QCB4oOD9KdI3KoK4KsWUpb63fEA6NR7q1FqrrvVWOmtod X-Received: by 2002:a50:d4cd:: with SMTP id e13mr22853733edj.117.1606756655884; Mon, 30 Nov 2020 09:17:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606756655; cv=none; d=google.com; s=arc-20160816; b=oUQihAFaquYfdjaRh9GFSJ6i4BbfbK3jRbeJuWodVLa+eoWyyYxOMJn+Ec35Eznedo FfnKWIrbp+d0htOLlGNREKKX5oqXtyo1Fm2AtpvZr8BjX/UZev3V+vU39vPL4rRsU6C0 vhhW8JjZvznAVevtDD4S2nhvApS4tg49hAxjboD6bd1Vq6aXQwEjStSsrUzzXjkfXNJV T9BJxmK7re5tf+lMfRd5HiOzmwD7jnvSQo+f7TYrA4vY/8UrnXXfNCQAH5IQYHvCnMBJ iKQ4OOu8Aj6CnMeYz3mbux7ElfhhMOIpk/3MXUmHd7ukT7MrqNKa4A7En5sE8AXD+zZ3 LS/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AcjX8xJ/mzO5y/RwIA0/U8QFX9nWoqdtSQYRTJvpO4g=; b=G9J7QfgwKpAIAXoycx39oc69pBPpJJN7p3k99en0n54dpNZLVhxY88eXmBpJrkb4s8 f9+cI2B3FNfug16g/Bw7VGxrSClLgMbTwHjrEiTvNvHKSV1Hi2U1g7jIkH/sbBGgJM2Y DaF46uay1TWGDxP5d22eMgqaliCIo6N2TTovfMsaAIWD3pBnQAxvp2Wu9CEmunviAdYq RuAytdV2yEaZN9ZhcbRyxuBOnxS2NTj/W2zdQzovhi+WTZGiOs2kO1ICTacvXaB4LvGH H3ioqvr0paZQRobQM4qVA7SRvxl6ejsk2gNPsNZ1KjS7oPiNly8nPiWxSLSjMdOPNooF psfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rouCmimZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn10si10477377ejb.591.2020.11.30.09.17.12; Mon, 30 Nov 2020 09:17:35 -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=@gmail.com header.s=20161025 header.b=rouCmimZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728981AbgK3RPZ (ORCPT + 99 others); Mon, 30 Nov 2020 12:15:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725955AbgK3RPY (ORCPT ); Mon, 30 Nov 2020 12:15:24 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF368C0613D2; Mon, 30 Nov 2020 09:14:44 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id t37so10455905pga.7; Mon, 30 Nov 2020 09:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AcjX8xJ/mzO5y/RwIA0/U8QFX9nWoqdtSQYRTJvpO4g=; b=rouCmimZdLe0JMJoBrQrsENsu+VlOgnXXgexijD6wuH7yGEOYbLsGHB4C/h7atFcE+ Qc9JXfzYYRZwf83GXPHUA5Ij++71yGgPzIpnOS7I24m2pBLHNpvbSAd5qxXHjQmevsvE nWziM2H/8E2xiIUcOI3K4w0rnlayMU1la/waO7LfuKa8tVxlOrh+Wmxlo9HxEuEJ2smV mTtsmlRwszid1DmsRypz1NrxTYcFqyZ+q9qbUBnTdU77NpCBlYw8EDf7ZodLEDe1iVGt dRkN95LP0Xkq3dNOSN77zvwLajQqWekolNvnH8QbDGzMS5VqouuniwYHe5sbDaHzg8TV m1OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AcjX8xJ/mzO5y/RwIA0/U8QFX9nWoqdtSQYRTJvpO4g=; b=eZy0Lk/qvPCqAqajb7X7ApuakY9IiOp67mNYlI43bJ9qe0QxZMjGFyZUEPL3MZp1Q5 +VZ6EUOkYIfwQMYwug50wtqG5DX50Uh+7Za2vX/1Q4Zf+4imrsT2pkakeOjVKJet1AWM oiqk5tVg6KFrj7F9aT4PvBJacc+EkM6g53ALjeHHX9I0aG+5DiuwC5N3m5Pj90SP+u55 etkfc4KBg8PGBR43pDLRReLfLP0SMs0Gm3mzcaP7pzf0cCcWSwOT3UaEmJKORJaudIu6 zIhJN55nfhCenVwduw0W8ituQklbN1YQSbvpGQAllkjzayS/850FEteJ2fe/8elhoavY 4GUg== X-Gm-Message-State: AOAM5310wBivgJzsSCrwMMJxca1OYkJxb9efQIQy+nG9qMFe708SM/Nd xPsUBPAhpOY9iNA/XwRjvxiYERT/wvR/rmI+HzU= X-Received: by 2002:a62:7e4f:0:b029:18c:9322:739b with SMTP id z76-20020a627e4f0000b029018c9322739bmr19543390pfc.7.1606756484369; Mon, 30 Nov 2020 09:14:44 -0800 (PST) MIME-Version: 1.0 References: <20201119170739.GA22665@embeddedor> In-Reply-To: From: Andy Shevchenko Date: Mon, 30 Nov 2020 19:15:33 +0200 Message-ID: Subject: Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang To: Bartosz Golaszewski Cc: "Gustavo A. R. Silva" , Mika Westerberg , Andy Shevchenko , Linus Walleij , "open list:GPIO SUBSYSTEM" , ACPI Devel Maling List , Linux Kernel Mailing List , linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 30, 2020 at 6:51 PM Bartosz Golaszewski wrote: > > On Thu, Nov 19, 2020 at 7:46 PM Andy Shevchenko > wrote: > > > > On Thu, Nov 19, 2020 at 7:08 PM Gustavo A. R. Silva > > wrote: > > > > > > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > > > by explicitly adding a break statement instead of letting the code fall > > > through to the next case. > > > > Reviewed-by: Andy Shevchenko > > > > > Link: https://github.com/KSPP/linux/issues/115 > > > Signed-off-by: Gustavo A. R. Silva > > > --- > > > drivers/gpio/gpiolib-acpi.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c > > > index 6cc5f91bfe2e..e37a57d0a2f0 100644 > > > --- a/drivers/gpio/gpiolib-acpi.c > > > +++ b/drivers/gpio/gpiolib-acpi.c > > > @@ -233,6 +233,7 @@ acpi_gpio_to_gpiod_flags(const struct acpi_resource_gpio *agpio, int polarity) > > > default: > > > break; > > > } > > > + break; > > > default: > > > break; > > > } > Are you taking it through your tree? I don't have anything else, so please proceed directly. That's why I gave the tag. -- With Best Regards, Andy Shevchenko