On Mon, Mar 22, 2021 at 10:52 PM Arnd Bergmann wrote:
>
> From: Arnd Bergmann
>
> 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
From: Arnd Bergmann
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: