Re: [PATCH v3 7/7] selinux: use unsigned iterator in nlmsgtab code

From: Paul Moore
Date: Wed Aug 09 2023 - 19:08:00 EST


On Aug 7, 2023 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@xxxxxxxxxxxxxx> wrote:
>
> Use an unsigned type as loop iterator.
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
> v3: use unsigned int instead of u32 since the loop bound is known at
> compile time and small (<100)
> v2: avoid declarations in init-clauses of for loops
> ---
> security/selinux/nlmsgtab.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

Merged into selinux/next, thanks.

--
paul-moore.com