Re: [PATCH][next] bpf: make function skip_callee static and return NULL rather than 0

2017-12-18 Thread Daniel Borkmann
On 12/18/2017 06:47 PM, Colin King wrote: > From: Colin Ian King > > 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

[PATCH][next] bpf: make function skip_callee static and return NULL rather than 0

2017-12-18 Thread Colin King
From: Colin Ian King 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