]> git.baikalelectronics.ru Git - kernel.git/commit
net/packet: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:38:20 +0000 (12:38 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 00:57:18 +0000 (19:57 -0500)
commit7008ad2758e1d5a9db05ccf085e451687e8ce4fe
tree58f849bafdb3f8d3dade5fea889f4752f044b178
parente92cdbca420c8a547f81500570804cf1a87a87e7
net/packet: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
net/packet/af_packet.c