On Fri, Mar 13, 2020 at 10:21:19AM -0700, Martin KaFai Lau wrote: > On Fri, Mar 13, 2020 at 12:46:50PM -0300, Carlos Neira wrote: > > > > When compiling bpftool the following warning is found: > > "declaration of 'struct bpf_pidns_info' will not be visible outside of this function." > > This patch adds struct bpf_pidns_info to type_fwds array to fix this. > > > > Signed-off-by: Carlos Neira <cneirabustos@xxxxxxxxx> > Fixes: b4490c5c4e02 ("bpf: Added new helper bpf_get_ns_current_pid_tgid") > Acked-by: Martin KaFai Lau <kafai@xxxxxx> > > Please add the Fixes tag next time. Other than tracking, > it will be easier for review purpose also. Thanks, I will do that in the future. Bests