Re: [PATCH] bpf: Convert to use the preferred fallthrough macro

From: linmiaohe
Date: Sat Aug 15 2020 - 21:51:00 EST


Yonghong Song <yhs@xxxxxx> wrote:
>On 8/14/20 2:16 AM, Miaohe Lin wrote:
>> Convert the uses of fallthrough comments to fallthrough macro.
>>
>> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
>
>This is not a bug fix but rather an enhancement so not sure whether this should push to bpf tree or wait until bpf-next.
>
>It may be worthwhile to mention Commit 294f69e662d1
> ("compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use") so people can understand why this patch is needed.
>

Will do. Many thanks.

>With above suggestions,
>Acked-by: Yonghong Song <yhs@xxxxxx>
>