aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2018-05-29 10:40:18 +0800
committerDaniel Borkmann <[email protected]>2018-05-29 21:45:35 +0200
commit720e7f38bc3c59bf70974af326f7fb871a1ce89c (patch)
tree25cf6a64cb08a0a87f38137ea0089fbd722e0067 /lib/memory-notifier-error-inject.c
parent7a279e93330bd4f0074973293f1cd1aacf7c5fa6 (diff)
bpf: hide the unused 'off' variable
The local variable is only used while CONFIG_IPV6 enabled net/core/filter.c: In function ‘sk_msg_convert_ctx_access’: net/core/filter.c:6489:6: warning: unused variable ‘off’ [-Wunused-variable] int off; ^ This puts it into #ifdef. Fixes: 303def35f64e ("bpf: allow sk_msg programs to read sock fields") Signed-off-by: YueHaibing <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions