]> git.baikalelectronics.ru Git - kernel.git/commit
davicom: Annotate implicit fall through in dm9000_set_io
authorMathieu Malaterre <malat@debian.org>
Wed, 16 Jan 2019 19:49:25 +0000 (20:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:08:17 +0000 (15:08 -0800)
commit364b0abb2889901fc0f82b473456bfeabe3f30ad
treecd174fe040d1da60632a3a555171e3135140341a
parent578e5d02fd5b8b85cbf6dc7f66f9ec5d527e6522
davicom: Annotate implicit fall through in dm9000_set_io

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/davicom/dm9000.c