[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190724192528.GA6859@penguin>
Date: Wed, 24 Jul 2019 22:25:28 +0300
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Cc: Kai-Heng Feng <kai.heng.feng@...onical.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: elantech - mark expected switch fall-through
Hi Gustavo,
On Wed, Jul 24, 2019 at 12:52:02PM -0500, Gustavo A. R. Silva wrote:
> In preparation to enabling -Wimplicit-fallthrough, mark switch
> cases where we are expecting to fall through.
>
> This patch fixes the following warning:
>
> drivers/input/mouse/elantech.c: In function 'elantech_use_host_notify':
> drivers/input/mouse/elantech.c:1843:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
> if (dmi_get_bios_year() >= 2018)
> ^
> drivers/input/mouse/elantech.c:1845:2: note: here
> default:
> ^~~~~~~
Thank you for the patch but I already pushed out similar patch.
Thanks.
--
Dmitry
Powered by blists - more mailing lists