Re: [PATCH 7/9] selinux: do not discard const qualifier in cast

From: Paul Moore
Date: Wed Jan 26 2022 - 15:56:32 EST


On Tue, Jan 25, 2022 at 9:14 AM Christian Göttsche
<cgzones@xxxxxxxxxxxxxx> wrote:
>
> Do not discard the const qualifier on the cast from const void* to
> __be32*; the addressed value is not modified.
>
> Reported by clang [-Wcast-qual]
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
> security/selinux/netnode.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Merged, thanks.

--
paul-moore.com