libbpf: Fix various errors and warning reported by checkpatch.pl
authorAndrii Nakryiko <andriin@fb.com>
Thu, 21 Nov 2019 07:07:42 +0000 (23:07 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 25 Nov 2019 00:58:45 +0000 (16:58 -0800)
commit8983b731ceb42939acaa6158abcf8adb56f834bf
treea0ff51981d6544f46c20fcf28069f4c46de5e518
parent1f8e2bcb2cd5ee1a731fb625a5438e2c305f6a7c
libbpf: Fix various errors and warning reported by checkpatch.pl

Fix a bunch of warnings and errors reported by checkpatch.pl, to make it
easier to spot new problems.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191121070743.1309473-4-andriin@fb.com
tools/lib/bpf/libbpf.c