diff options
author | He Zhe <zhe.he@windriver.com> | 2020-09-28 17:00:23 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-09-29 16:39:11 +0200 |
commit | 9cf51446e68607136e42a4e531a30c888c472463 (patch) | |
tree | d3c619e4944b92c96a794555ecc5b374609c74b7 /net | |
parent | 87f92ac4c12758c4da3bbe4393f1d884b610b8a6 (diff) | |
download | lwn-9cf51446e68607136e42a4e531a30c888c472463.tar.gz lwn-9cf51446e68607136e42a4e531a30c888c472463.zip |
bpf, powerpc: Fix misuse of fallthrough in bpf_jit_comp()
The user defined label following "fallthrough" is not considered by GCC
and causes build failure.
kernel-source/include/linux/compiler_attributes.h:208:41: error: attribute
'fallthrough' not preceding a case label or default label [-Werror]
208 define fallthrough _attribute((fallthrough_))
^~~~~~~~~~~~~
Fixes: df561f6688fe ("treewide: Use fallthrough pseudo-keyword")
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/bpf/20200928090023.38117-1-zhe.he@windriver.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions