Re: [PATCH net-next] net: dst: move cpu inside ifdef to avoid compilation warning

2017-10-10 Thread David Miller
From: Jakub Kicinski Date: Tue, 10 Oct 2017 15:05:39 -0700 > If CONFIG_DST_CACHE is not selected cpu variable > will be unused and we will see a compilation warning. > Move it under the ifdef. > > Reported-by: kbuild test robot > Fixes: d66f2b91f95b ("bpf: don't rely on the verifier lock for me

[PATCH net-next] net: dst: move cpu inside ifdef to avoid compilation warning

2017-10-10 Thread Jakub Kicinski
If CONFIG_DST_CACHE is not selected cpu variable will be unused and we will see a compilation warning. Move it under the ifdef. Reported-by: kbuild test robot Fixes: d66f2b91f95b ("bpf: don't rely on the verifier lock for metadata_dst allocation") Signed-off-by: Jakub Kicinski --- net/core/dst