[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160731.203521.1326608781544696617.davem@davemloft.net>
Date: Sun, 31 Jul 2016 20:35:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Valdis.Kletnieks@...edu
Cc: ast@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] silence warnings when building kernel/bpf/core.c with
W=1
From: Valdis Kletnieks <Valdis.Kletnieks@...edu>
Date: Sun, 31 Jul 2016 23:27:33 -0400
> Building with W=1 generates some 350 lines of warnings of the form:
>
> kernel/bpf/core.c: In function '__bpf_prog_run':
> kernel/bpf/core.c:476:33: warning: initialized field overwritten [-Woverride-init]
> [BPF_ALU | BPF_ADD | BPF_X] = &&ALU_ADD_X,
> ^~
> kernel/bpf/core.c:476:33: note: (near initialization for 'jumptable[12]')
>
> Since they come from the way we intentionally build the table, silence
> that one specific warning.
>
> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@...edu>
Patch submission must use a proper subsystem prefix in their Subject lines,
as this ends up in the kernel commit shortlog.
The appropriate subsystem prefix for this patch is "bpf: "
Powered by blists - more mailing lists