Re: [PATCH bpf-next] bpf: remove __btf_name_valid() and change to btf_name_valid_identifier()

From: Alan Maguire
Date: Wed Aug 07 2024 - 12:54:43 EST


On 07/08/2024 15:31, Jeongjun Park wrote:
> __btf_name_valid() can be completely replaced with
> btf_name_valid_identifier, and since most of the time you already call
> btf_name_valid_identifier instead of __btf_name_valid , it would be
> appropriate to rename the __btf_name_valid function to
> btf_name_valid_identifier and remove __btf_name_valid.
>
> Signed-off-by: Jeongjun Park <aha310510@xxxxxxxxx>

Looks good to me

Reviewed-by: Alan Maguire <alan.maguire@xxxxxxxxxx>

> ---
> kernel/bpf/btf.c | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
>