aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2021-06-19 09:44:54 +0530
committerDaniel Borkmann <[email protected]>2021-06-22 17:04:02 +0200
commitee62a5c6bb100b6fb07f3da3818c10a24d440e10 (patch)
tree270269a64537986921e4e3338ae5594395b04be1 /scripts/gcc-plugins
parent0ae64fb6b645e0f976e08bc3c05e518856f19d00 (diff)
libbpf: Switch to void * casting in netlink helpers
Netlink helpers I added in 8bbb77b7c7a2 ("libbpf: Add various netlink helpers") used char * casts everywhere, and there were a few more that existed from before. Convert all of them to void * cast, as it is treated equivalently by clang/gcc for the purposes of pointer arithmetic and to follow the convention elsewhere in the kernel/libbpf. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions