diff options
author | 2019-05-19 18:43:53 -0500 | |
---|---|---|
committer | 2019-07-25 20:09:49 -0500 | |
commit | 2988160827b780eec3f958ade2100cc223d4d2d6 (patch) | |
tree | e7f9b5b7628c6bacd7757da699c3ef3e560a77b7 /scripts/gdb/linux/utils.py | |
parent | afs: yfsclient: Mark expected switch fall-throughs (diff) | |
download | wireguard-linux-2988160827b780eec3f958ade2100cc223d4d2d6.tar.xz wireguard-linux-2988160827b780eec3f958ade2100cc223d4d2d6.zip |
afs: fsclient: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.
This patch fixes the following warnings:
Warning level 3 was used: -Wimplicit-fallthrough=3
fs/afs/fsclient.c: In function ‘afs_deliver_fs_fetch_acl’:
fs/afs/fsclient.c:2199:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
call->unmarshall++;
~~~~~~~~~~~~~~~~^~
fs/afs/fsclient.c:2202:2: note: here
case 1:
^~~~
fs/afs/fsclient.c:2216:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
call->unmarshall++;
~~~~~~~~~~~~~~~~^~
fs/afs/fsclient.c:2219:2: note: here
case 2:
^~~~
fs/afs/fsclient.c:2225:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
call->unmarshall++;
~~~~~~~~~~~~~~~~^~
fs/afs/fsclient.c:2228:2: note: here
case 3:
^~~~
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions