OSDN Git Service

MIPS: BPF: Use sizeof_field() instead of FIELD_SIZEOF()
authorKees Cook <keescook@chromium.org>
Wed, 18 Dec 2019 17:16:12 +0000 (09:16 -0800)
committerPaul Burton <paulburton@kernel.org>
Fri, 10 Jan 2020 19:33:35 +0000 (11:33 -0800)
commitcc43928ba4010e3e799b1136ed260612682dbc98
tree7dfa9acd02091dbcda5f4df1a530e544be2ecafa
parentecb983790fe893e73e6d29bcb6d8df71e593a550
MIPS: BPF: Use sizeof_field() instead of FIELD_SIZEOF()

The FIELD_SIZEOF() macro was redundant, and is being removed from the
kernel. Since commit c593642c8be0 ("treewide: Use sizeof_field() macro")
this is one of the last users of the old macro, so replace it.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@vger.kernel.org
arch/mips/net/bpf_jit.c