aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorDenys Zagorui <[email protected]>2023-09-07 09:02:10 +0000
committerAndrii Nakryiko <[email protected]>2023-09-09 00:04:24 +0000
commitebc8484d0e6da9e6c9e8cfa1f40bf94e9c6fc512 (patch)
tree2256b71122922ab72f4a33fd547be7853b010446 /tools/net/ynl/generated/netdev-user.c
parentMerge branch 'selftests/bpf: Optimize kallsyms cache' (diff)
downloadkernel-ebc8484d0e6da9e6c9e8cfa1f40bf94e9c6fc512.tar.gz
kernel-ebc8484d0e6da9e6c9e8cfa1f40bf94e9c6fc512.zip
bpftool: Fix -Wcast-qual warning
This cast was made by purpose for older libbpf where the bpf_object_skeleton field is void * instead of const void * to eliminate a warning (as i understand -Wincompatible-pointer-types-discards-qualifiers) but this cast introduces another warning (-Wcast-qual) for libbpf where data field is const void * It makes sense for bpftool to be in sync with libbpf from kernel sources Signed-off-by: Denys Zagorui <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions