]> git.baikalelectronics.ru Git - kernel.git/commit
net: wan: sdla: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 29 Jul 2019 20:01:39 +0000 (15:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 20:57:58 +0000 (13:57 -0700)
commit176d39dcce485452f4548af1a905b9fde31a25f5
tree636fab6bddf5df970b393cf6302ff719ee9bb23b
parentb9aa2d906611dd08c6333083af6721b46a58edc3
net: wan: sdla: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

This patch fixes the following warning (Building: i386):

drivers/net/wan/sdla.c: In function ‘sdla_errors’:
drivers/net/wan/sdla.c:414:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (cmd == SDLA_INFORMATION_WRITE)
       ^
drivers/net/wan/sdla.c:417:3: note: here
   default:
   ^~~~~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/sdla.c