lkml.org 
[lkml]   [2019]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] davicom: Annotate implicit fall through in dm9000_set_io
From
From: Mathieu Malaterre <malat@debian.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@debian.org>

Applied.

\
 
 \ /
  Last update: 2019-01-18 00:09    [W:0.045 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site