[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f348afb5-684e-4cd7-a8e0-d5a10221dfaa@linux.dev>
Date: Mon, 8 Apr 2024 08:31:44 -0700
From: Yonghong Song <yonghong.song@...ux.dev>
To: Jason Xing <kerneljasonxing@...il.com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, ast@...nel.org,
daniel@...earbox.net, andrii@...nel.org, martin.lau@...ux.dev,
eddyz87@...il.com, song@...nel.org, john.fastabend@...il.com,
kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com, jolsa@...nel.org,
mykolal@...com, shuah@...nel.org
Cc: bpf@...r.kernel.org, linux-kselftest@...r.kernel.org,
netdev@...r.kernel.org, Jason Xing <kernelxing@...cent.com>
Subject: Re: [PATCH net-next] selftests/bpf: eliminate warning of
get_cgroup_id_from_path()
On 4/6/24 7:46 AM, Jason Xing wrote:
> From: Jason Xing <kernelxing@...cent.com>
>
> 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 <kernelxing@...cent.com>
But your change looks fine.
Acked-by: Yonghong Song <yonghong.song@...ux.dev>
Powered by blists - more mailing lists