Subject: Re: [PATCH net-next] selftests/bpf: eliminate warning of get_cgroup_id_from_path()

From: Yonghong Song <[email-masked]>
Date: Mon, 8 Apr 2024 08:31:44 -0700

On 4/6/24 7:46 AM, Jason Xing wrote:
> From: Jason Xing <[email-masked]>
>
> The output goes like this if I make samples/bpf:
> ...warning: no previous prototype for ‘get_cgroup_id_from_path’...

The CI does not build samples/bpf...

>
> Make this function static could solve the warning problem since
> no one outside of the file calls it.
>
> Signed-off-by: Jason Xing <[email-masked]>

But your change looks fine.

Acked-by: Yonghong Song <[email-masked]>