[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190117.150840.156159177374324339.davem@davemloft.net>
Date: Thu, 17 Jan 2019 15:08:40 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: malat@...ian.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] davicom: Annotate implicit fall through in
dm9000_set_io
From: Mathieu Malaterre <malat@...ian.org>
Date: Wed, 16 Jan 2019 20:49:25 +0100
> There is a plan to build the kernel with -Wimplicit-fallthrough and
> this place in the code produced a warning (W=1).
>
> This commit removes the following warning:
>
> include/linux/device.h:1480:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
> drivers/net/ethernet/davicom/dm9000.c:397:3: note: in expansion of macro 'dev_dbg'
> drivers/net/ethernet/davicom/dm9000.c:398:2: note: here
>
> Signed-off-by: Mathieu Malaterre <malat@...ian.org>
Applied.
Powered by blists - more mailing lists