aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2017-09-29 17:52:17 +0000
committerDavid S. Miller <[email protected]>2017-10-01 03:09:42 +0000
commit721e08dad17e226ef68819d0a23dc53c25fe8ea5 (patch)
treec4cbe3a70e040358c9a0310f4b9a035750652952 /drivers/net/hyperv/hyperv_net.h
parentnet_sched: remove redundant assignment to ret (diff)
downloadkernel-721e08dad17e226ef68819d0a23dc53c25fe8ea5.tar.gz
kernel-721e08dad17e226ef68819d0a23dc53c25fe8ea5.zip
bpf: Fix compiler warning on info.map_ids for 32bit platform
This patch uses u64_to_user_ptr() to cast info.map_ids to a userspace ptr. It also tags the user_map_ids with '__user' for sparse check. Fixes: cb4d2b3f03d8 ("bpf: Add name, load_time, uid and map_ids to bpf_prog_info") Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions