Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp606575pxb; Thu, 19 Nov 2020 09:10:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNqhNZeBCEy7Qd6WoH8Xa+raFwuue9Ldkfen3cONuLAMYkHFrHgX//fvdXfbMJdsw+TpTq X-Received: by 2002:a50:9d04:: with SMTP id v4mr31903804ede.363.1605805855774; Thu, 19 Nov 2020 09:10:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605805855; cv=none; d=google.com; s=arc-20160816; b=pm2ZAOtHDIovwjdAb4XRhhAwDGv3Vnu9bZk2tLOcoHVJzH+faoLe2qHw/BxSqsg3SQ H0BErRwdlTLg9N0onY7aNtcH8S8hMQi9EyVOA/IxQ2OiTVcaHogaCSc7A3MSuGhVOoq9 +I+ASRUjZY7ordowSwgeA5XAkzhQTm3ZZGRyDphnMjf5jIkxR0iODGHA32owRnbOwsKU gXQXMfOipSnKtY13/90YJK9IkKn87KaIlCHS8r/53VvGgCKj78k56AFj8AkTfZd56LRe RUpkGmaiBWHElUM85NOBwAgLF5fkpswEnq4HQZDpQEbCgnhT/qav3DHyVzfmDwIx5iPw Xkfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=JGh+2H6lr1QFFmYaBD7B8ctcE3aaaUPZ5ffzHItHoQw=; b=whhsNQDxXT3NKubDskPzTe8acsSd8vR1RqaT0wAM5SoGMTuKObKz2ozFZXcEf1k5Ku GgFwF0VANXBJ7Rw37RZroD7KonOdKkQwAZjCp0VzxUAihmzQuGTt/LwCW6b6U5VDzwDR 35yd6ltJWXfcNGX/+2hUeEXgUeFSEjc5KyRWeQEit8u8zekaHK9XE+624bx3dgaYi7Eq VRBhdTUha7ulgmmFobikPQBPeKc5SwpHaacO7BBOYrDkR99B1Vun9qyt9WUh0nLbSlFA rJma2J1/yZ40T5zdMPXs74phMWR7GLHMwxWnN/i1WJhlEd4dGZ/xWrMHmcVYdSZ/8twz 1kTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oMTu6e5P; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc20si135759ejb.747.2020.11.19.09.10.32; Thu, 19 Nov 2020 09:10:55 -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=@kernel.org header.s=default header.b=oMTu6e5P; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728908AbgKSRI7 (ORCPT + 99 others); Thu, 19 Nov 2020 12:08:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:36302 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728147AbgKSRI7 (ORCPT ); Thu, 19 Nov 2020 12:08:59 -0500 Received: from embeddedor (187-162-31-110.static.axtel.net [187.162.31.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1723B2468B; Thu, 19 Nov 2020 17:08:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605805738; bh=K24ZkZs9Ul6PSkGObd2SXEbhNuIAKGPVjWEDWBbjJa8=; h=Date:From:To:Cc:Subject:From; b=oMTu6e5PW+tBCfUb4t6FVfsdotCoo8Q71ulrJ1wYgx7KMbaBbcI2zpwkfX7dN0rTE BJnWTTjyyfOvIXMDy/ekIm1yAtUbUoxJcSM4d1FYOgid+aeb6Wd7QBoINrliWoTLBe olJfCyA9oVCeUvh5+pq9xi45eUBvfBOBQ9Uwrw3I= Date: Thu, 19 Nov 2020 11:09:01 -0600 From: "Gustavo A. R. Silva" To: Alban Bedel , Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" , linux-hardening@vger.kernel.org Subject: [PATCH][next] gpio: ath79: Fix fall-through warning for Clang Message-ID: <20201119170901.GA22703@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a fallthrough pseudo-keyword to indicate that the code is intended to fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva --- drivers/gpio/gpio-ath79.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index d5359341cc6b..678ddd375891 100644 --- a/drivers/gpio/gpio-ath79.c +++ b/drivers/gpio/gpio-ath79.c @@ -123,6 +123,7 @@ static int ath79_gpio_irq_set_type(struct irq_data *data, switch (flow_type) { case IRQ_TYPE_EDGE_RISING: polarity |= mask; + fallthrough; case IRQ_TYPE_EDGE_FALLING: case IRQ_TYPE_EDGE_BOTH: break; -- 2.27.0