summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva2019-07-29 22:12:31 +0200
committerDavid S. Miller2019-07-29 22:57:58 +0200
commit7bd6ba4ef4b29db7464da496963081f5fdc88300 (patch)
tree07ec9b1b272a607df69f8fcb1c89aad7d272cb2a /drivers/gpio/gpiolib.c
parentnet: wan: sdla: Mark expected switch fall-through (diff)
downloadkernel-qcow2-linux-7bd6ba4ef4b29db7464da496963081f5fdc88300.tar.gz
kernel-qcow2-linux-7bd6ba4ef4b29db7464da496963081f5fdc88300.tar.xz
kernel-qcow2-linux-7bd6ba4ef4b29db7464da496963081f5fdc88300.zip
net: hamradio: baycom_epp: 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/hamradio/baycom_epp.c: In function ‘transmit’: drivers/net/hamradio/baycom_epp.c:491:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (i) { ^ drivers/net/hamradio/baycom_epp.c:504:3: note: here default: /* fall through */ ^~~~~~~ Notice that, in this particular case, the code comment is modified in accordance with what GCC is expecting to find. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions