Re: [PATCH] powerpc: net: bpf_jit_comp: Fix misuse of fallthrough
From: Daniel Borkmann
Date: Tue Sep 29 2020 - 10:41:59 EST
On 9/28/20 11:00 AM, zhe.he@xxxxxxxxxxxxx wrote:
From: He Zhe <zhe.he@xxxxxxxxxxxxx>
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_))
^~~~~~~~~~~~~
Signed-off-by: He Zhe <zhe.he@xxxxxxxxxxxxx>
Applied, thanks! I've also added Fixes tag with df561f6688fe ("treewide: Use fallthrough pseudo-keyword")
which added the bug.