Re: [PATCH RFC 20/20] selinux: selinuxfs: avoid implicit conversions

From: Paul Moore
Date: Tue Jul 18 2023 - 18:02:45 EST


On Jul 6, 2023 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@xxxxxxxxxxxxxx> wrote:
>
> Use unsigned loop counters where the upper bound is of unsigned
> type.
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
> security/selinux/selinuxfs.c | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)

More loop iterator declarations inside the loop, see my previous
comments.

--
paul-moore.com