bpf: s390: Fix build error caused by the struct bpf_array member name changed
authorKaixu Xia <xiakaixu@huawei.com>
Tue, 11 Aug 2015 08:56:51 +0000 (08:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Aug 2015 18:49:40 +0000 (11:49 -0700)
commit2c9c3bbbbfe9f7f700c30d9ac40c1abca59d39ee
tree249a164cebf17e040227ab99be21ffa92f97995d
parent15ee8fcdd2d24351022e12a92c764edaf2f60e51
bpf: s390: Fix build error caused by the struct bpf_array member name changed

There is a build error that "'struct bpf_array' has no member
named 'prog'" on s390. In commit 2a36f0b92eb6 ("bpf: Make the
bpf_prog_array_map more generic"), the member 'prog' of struct
bpf_array is replaced by 'ptrs'. So this patch fixes it.

Fixes: 2a36f0b92eb6 ("bpf: Make the bpf_prog_array_map more generic")
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Kaixu Xia <xiakaixu@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/s390/net/bpf_jit_comp.c