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

From: linmiaohe <linmiaohe@huawei.com>
Date: 2020-08-16 01:51:00
Also in: bpf, lkml

Yonghong Song [off-list ref] wrote:
On 8/14/20 2:16 AM, Miaohe Lin wrote:
quoted
Convert the uses of fallthrough comments to fallthrough macro.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
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 <redacted>
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help