Re: [PATCH] powerpc: net: bpf_jit_comp: Fix misuse of fallthrough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux