Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3716832pxu; Mon, 30 Nov 2020 08:53:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJys3ce4h9sTHhjEjgzlD1Jh+RcFQ6v6vH3wmAUl6lrOOP2sTR8CSpwLxvRQwfTleWK8d97G X-Received: by 2002:a50:d745:: with SMTP id i5mr23104034edj.166.1606755227321; Mon, 30 Nov 2020 08:53:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606755227; cv=none; d=google.com; s=arc-20160816; b=W5KgwE1SOw3iJohmQXZsLoqhM2jQFXDJHSdEqLxPL9cwXQ1lExepVBS3CSjuW1S1JC 3fhWjqIc4kU6RbIi4pX0Fw56XV/1ZdbxCVy8fSyoPm4ZcQddAY8na0k5uQ9hqK5RzsJH gCEsqWVyuuMki2UgolCHB7OVkmBnXbLiT4OekAmT7TdoiO8TR0Oruq6f3In2xIVTbZYS 3qmCAxbYdKTQydtXbVnZB7HAbiHjj/pmNOElXEzq9h6yNN1G6tRKLBPkGZDw/EaT1V4Z PjwczMhoZygDjQic+pgjtxZ7+Fkl7PlNx6A40pT+vb/dHkmOkUF6jGBKfOxw4InnBUKs kn2A== 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=VyKkRZI14CL09cIKqCrg3tRF0u0hWmZ7H+6Vrc8e5Uo=; b=BBcfvsbgED2tdvbyiT9pkVuJhdCSn44rSiLb5JqdCQ5KaqiOYBegiXwGIQYGRcu/FO uP5WDppH6rRbnoLc59g0DUpvxrz65YrScu8OALnviyDVssh3MEPX9P1TEXjn5rbMMAzU ru5wJsLnG9VaVYaXbohfWh6KLJe92w6BDv1YmIJXpEm81uEsWhZsXNQYl0XhVRcw5x2u ZyfYsP+RbHJURnBb+uFiPf7v39wKW/t0HE/E063uUbdGQ8UBLpn3S3wN5BGq8iK7ymvj NiY8VQ5dEhI1a6O9cNtm3oeo72rV+6WAEAYf22dkF30bJ0gNxO+1cqmTUBNHO5k1/5EP 2/KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Zye/yjDq"; 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 s20si10950665ejb.155.2020.11.30.08.53.22; Mon, 30 Nov 2020 08:53:47 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Zye/yjDq"; 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 S1728053AbgK3Qvz (ORCPT + 99 others); Mon, 30 Nov 2020 11:51:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbgK3Qvy (ORCPT ); Mon, 30 Nov 2020 11:51:54 -0500 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AB16C0613D2 for ; Mon, 30 Nov 2020 08:51:14 -0800 (PST) Received: by mail-ed1-x543.google.com with SMTP id d18so17037597edt.7 for ; Mon, 30 Nov 2020 08:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VyKkRZI14CL09cIKqCrg3tRF0u0hWmZ7H+6Vrc8e5Uo=; b=Zye/yjDqWPYGyg/QE0koGvl0I2eHLXcxFBm4sXkIAKcAllxFfCM8VhOKsbeI3vqS5q WJynbjNDVCg5tCp8TZzl46m0pdFE+emZQsOSzDR3n1Z9O0Z4KzEyprZ2N56f/VKa6qr5 FxAkySIInHUZpy3Si5S8ztkqnlIwnnl+7xiwCRvLeHgnaLPxJaYJ4vcca1DoiMXyqK/e qhM+eiUXY5aMq6kr4DSF2ghhgxdJzkPPQLxsiONl3BEctySuXBtUjKggjYyyOimhxKRn Li7SFb8adwSPzQ9upKTgl2WnnSLw93Bq7Z3az1xpjsh+zZ0Zb2d3xY18mLqPe+ZUtDFR SMyw== 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=VyKkRZI14CL09cIKqCrg3tRF0u0hWmZ7H+6Vrc8e5Uo=; b=KZ0gFfJgPPZBWUZXN6jDNyZuvFdgxgOBZu+EDerNEThuylqw4kx8//BflpCatnFwR1 ryB/geZcx7os6eUnicniIWKxBWSmC2UDMArAwKtIcQ4rxy2vlylLHG8+CQa/HX0zsXvu cyH32VVe/9ZiA6p2Lw8YO/3HruS8s2Iwg+1mZ/MvldXib2s14BRdgLu9MaBzNrBVtV+V eqR9O4fPGXSiLa7HMinKKS7rt1+THGO7lbNOIzCR74+rbMO5ayP+JDjW30MY/RnSB9OE wej1ND6BAD1PzBkr7Mx4DYcCM9jTJihMKFQ56+sh0Ub6CziOyVRdp/Fyei33cVuIXLnv BrwA== X-Gm-Message-State: AOAM532l9oNqS2GR2QmGkrpWdsKzaSTc9AKMwlEO9V9lE5Wx+MJNxpce LykpMr+zuhUI41kuBqNWaEuSiq7ZSD5jpuHmwB8L2Q== X-Received: by 2002:a05:6402:16c8:: with SMTP id r8mr15528179edx.59.1606755073013; Mon, 30 Nov 2020 08:51:13 -0800 (PST) MIME-Version: 1.0 References: <20201119170739.GA22665@embeddedor> In-Reply-To: From: Bartosz Golaszewski Date: Mon, 30 Nov 2020 17:51:02 +0100 Message-ID: Subject: Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang To: Andy Shevchenko 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 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; > > } > > -- > > 2.27.0 > > > > > -- > With Best Regards, > Andy Shevchenko Are you taking it through your tree? Bartosz