On Mon, Mar 22, 2021 at 10:52 PM Arnd Bergmann <a...@kernel.org> wrote: > > From: Arnd Bergmann <a...@arndb.de> > > gcc -Wextra wants type modifiers in the normal order: > > kernel/bpf/bpf_lsm.c:70:1: error: 'static' is not at beginning of declaration > [-Werror=old-style-declaration] > 70 | const static struct bpf_func_proto bpf_bprm_opts_set_proto = { > | ^~~~~ > kernel/bpf/bpf_lsm.c:91:1: error: 'static' is not at beginning of declaration > [-Werror=old-style-declaration] > 91 | const static struct bpf_func_proto bpf_ima_inode_hash_proto = { > | ^~~~~ > > Fixes: 3f6719c7b62f ("bpf: Add bpf_bprm_opts_set helper") > Fixes: 27672f0d280a ("bpf: Add a BPF helper for getting the IMA hash of an > inode") > Signed-off-by: Arnd Bergmann <a...@arndb.de>
Thanks for fixing! Acked-by: KP Singh <kpsi...@kernel.org>