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

2020-09-28 Thread zhe.he
From: He Zhe 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((fall

[PATCH] SUNRPC: Flush dcache only when receiving more seeking

2020-09-18 Thread zhe.he
From: He Zhe commit ca07eda33e01 ("SUNRPC: Refactor svc_recvfrom()") introduces svc_flush_bvec to after sock_recvmsg, but sometimes we receive less than we seek, which triggers the following warning. WARNING: CPU: 0 PID: 18266 at include/linux/bvec.h:101 bvec_iter_advance+0x44/0xa8 Attempted to