]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
soreuseport: Fix reuseport_bpf testcase on 32bit architectures
authorHelge Deller <deller@gmx.de>
Fri, 3 Jun 2016 17:19:20 +0000 (19:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jun 2016 22:20:16 +0000 (15:20 -0700)
commitfc100a7f89da85da8edd9c2e6f6e8b2490d74ae1
tree1a743e8449fecbefd83a5589e24c75ca17ccb188
parenta02cc9d3cc9f98905df214d4a57e5918473260ea
soreuseport: Fix reuseport_bpf testcase on 32bit architectures

This fixes the following compiler warnings when compiling the
reuseport_bpf testcase on a 32 bit platform:

reuseport_bpf.c: In function ‘attach_ebpf’:
reuseport_bpf.c:114:15: warning: cast from pointer to integer of ifferent size [-Wpointer-to-int-cast]

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/reuseport_bpf.c