diff options
| author | Colin Ian King <[email protected]> | 2017-12-18 17:47:07 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2017-12-19 00:26:04 +0000 |
| commit | fa2d41adb953235c4acaa98f6c980fd9eabe0062 (patch) | |
| tree | 8c8195e18ea84f249167f4d4512fce3cf95680a7 /tools/bpf/bpftool/prog.c | |
| parent | bpf: fix spelling mistake: "funcation"-> "function" (diff) | |
| download | kernel-fa2d41adb953235c4acaa98f6c980fd9eabe0062.tar.gz kernel-fa2d41adb953235c4acaa98f6c980fd9eabe0062.zip | |
bpf: make function skip_callee static and return NULL rather than 0
Function skip_callee is local to the source and does not need to
be in global scope, so make it static. Also return NULL rather than 0.
Cleans up two sparse warnings:
symbol 'skip_callee' was not declared. Should it be static?
Using plain integer as NULL pointer
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
