From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gustavo A. R. Silva" Subject: Re: [PATCH] gpio: sprd: Add missing break in switch statement Date: Mon, 11 Feb 2019 20:11:14 -0600 Message-ID: References: <20190211185001.GA19472@embeddedor> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Baolin Wang Cc: Linus Walleij , Bartosz Golaszewski , Orson Zhai , Chunyan Zhang , "open list:GPIO SUBSYSTEM" , LKML , Kees Cook List-Id: linux-gpio@vger.kernel.org Hi Baolin, On 2/11/19 8:07 PM, Baolin Wang wrote: > Hi Gustavo, > > On Tue, 12 Feb 2019 at 02:50, Gustavo A. R. Silva > wrote: >> >> Fix the following warning by adding a missing break: >> >> drivers/gpio/gpio-eic-sprd.c: In function ‘sprd_eic_irq_set_type’: >> drivers/gpio/gpio-eic-sprd.c:403:3: warning: this statement may fall through [-Wimplicit-fallthrough=] >> switch (flow_type) { >> ^~~~~~ >> drivers/gpio/gpio-eic-sprd.c:435:2: note: here >> default: >> ^~~~~~~ >> >> This patch is part of the ongoing efforts to enable >> -Wimplicit-fallthrough. >> >> Signed-off-by: Gustavo A. R. Silva > > Thanks for fixing my mistake. > Reviewed-by: Baolin Wang > Glad to help. :) Thanks -- Gustavo