Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp672279pxb; Thu, 19 Nov 2020 10:48:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMCEV1VLpxMDgGWBZeM7SC5lfjD7DHZGk6PJZTsVbBvIQ7USzuRBQMFIjnCtg6NVdiMjY0 X-Received: by 2002:a05:6402:144b:: with SMTP id d11mr32391302edx.195.1605811682943; Thu, 19 Nov 2020 10:48:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605811682; cv=none; d=google.com; s=arc-20160816; b=kEe10wwhJ5oW/aEP4WjcMO5nh8z1rKy+XHnpYM1ECw5uD8cawDzCrIJ1du7ofOmns1 gfkxCDnYtIuMaLfbXI40Wwh1RcXKNuaNrXqw+rEPDK3a3DtlWq3fI7DS0tBKD05ISxLe 73R17g1Pfji6fH/KUxvHYULCP+0iuOVHLdgy5f0vHt1nGaSj7Z06rZkhauIxYhUpF9nY uAWnhJM5nn3+2H5DCf6Khj7E18iA7iJlyCojICjwLdojHUtVTxm4xWkfjn/zEznnEg7f nHF0tntu6RDEubERF6sGTavCx/mydIKf4MJ3CbruvC+vlpAu+r4GZPbJi6ph+RLCRvYI fwKA== 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=81c71i5dO4kP419lzpy1jsGyR1x4EYOTkNO5ZXs8xA4=; b=p4tW20qfNxyQHWrkkpgV3Fddh9j2t9u+2LZawQOHLMFdpRxzc4dwBFuz825FuvE3ZI U/TU/Gm6NuCDpWPEJHeBGJD3I10zmJG14Ldi+BuGSEg28/v9bW4mrmZfh9WgY8Q+8oAM Qts3xoWhBYBh3eOd6db9izUEK+ucnIvOmPcmnFRspqsdFPzIiQrjwNdgPu1xWl0Tt+7W 8UEaw/gq8AA/XwBAV8lSWgL7S93zki4WSydPk4zZOjeeR17GZCBo5qhSeCFF8gqV9d2e bZFESTbfLtZuHL+ZUjHqO5vEhJzYHLjwqdMspp90ztPUbFEiJKQD1MZ6bUmM0WJhNbEc jlYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="RY/0VieM"; 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 a14si319204ejf.629.2020.11.19.10.47.38; Thu, 19 Nov 2020 10:48:02 -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="RY/0VieM"; 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 S1729530AbgKSSqM (ORCPT + 99 others); Thu, 19 Nov 2020 13:46:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729295AbgKSSqM (ORCPT ); Thu, 19 Nov 2020 13:46:12 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22447C0613CF; Thu, 19 Nov 2020 10:46:12 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id t21so5039952pgl.3; Thu, 19 Nov 2020 10:46:12 -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=81c71i5dO4kP419lzpy1jsGyR1x4EYOTkNO5ZXs8xA4=; b=RY/0VieMtwbooEEqoeNmP9YX+YSQZZVjswBdIVye9H6Ocr89tfv3dGIj5rSfHpgKs2 J74kUXhjmN02SK5PUudKM40zKos7/50/wqMADgaNwAgdBMzYRp8hyhAbmxeUg+onr0rv rQVmcLbGpLazYMKi/G8jir9p+I9idPZeZjXleSxSAzsrd9sOatbCNUYLeCrHcitsIbtx S9rUrIpdbRHxhSYU5utzfra5S90GObx18aUpJ8qerqPSOAiYK8g6Pe5+4PVpRavET5Oy F/tu3PxiAkh2+VwYbRQZYBRTMH6aZ6AsxK6ob6XrHHb5Mr9cSgnyL5KBb5Rf+HrfMMK1 AXwA== 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=81c71i5dO4kP419lzpy1jsGyR1x4EYOTkNO5ZXs8xA4=; b=Z0rh+Wq2KfPQ7U/4AEZNs60y3wXnRaaVkXUEG2KMfsRKoUvzExlSlTmpDQvMT6J/JA 13WqRZaWOJTqANqpZ8u6b0w8/1X8NzvsSumMrYU0vwhHKxqaMXmUSgolYMlpFqPVjTvV PZ8Gbpjm0J+2SsYfZcUemH8Au1KiITi/Xyp0m4Ezhtw29fiwcI8E/AlzXdh51eQCGdgb A+KkaXW3fZLnobQXYMqLWA6iwaaNX8/YBmEnzPwy1cTSbH7INu2WMtmU4Sp24Od3b4/u 21FQcpe8ZkHmgh3iMU4GH0fJD9raIK4YqnN3ikvklXwrcfROBDGQhkKVjF34S64GbzsF SrZA== X-Gm-Message-State: AOAM532Umk616pKDeCxpbgIjBBMVU4IG/RD8t/OgEiigUIHqW9o3DAci VUmdBXzfvdmx12QhKfg4e97K+HSWu1DqiScPyjU= X-Received: by 2002:a62:7c95:0:b029:18c:5002:a1ab with SMTP id x143-20020a627c950000b029018c5002a1abmr10085635pfc.40.1605811571629; Thu, 19 Nov 2020 10:46:11 -0800 (PST) MIME-Version: 1.0 References: <20201119170739.GA22665@embeddedor> In-Reply-To: <20201119170739.GA22665@embeddedor> From: Andy Shevchenko Date: Thu, 19 Nov 2020 20:47:00 +0200 Message-ID: Subject: Re: [PATCH][next] gpiolib: acpi: Fix fall-through warnings for Clang To: "Gustavo A. R. Silva" Cc: Mika Westerberg , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , "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: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