selinux: do not discard const qualifier in cast
authorChristian Göttsche <cgzones@googlemail.com>
Tue, 25 Jan 2022 14:14:17 +0000 (15:14 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 26 Jan 2022 20:54:45 +0000 (15:54 -0500)
commit73073d956a2073554b99d621a7a7ec9437055044
treeeb4f9e14351e07ed67b1b33e3c39135b7b091d61
parent056945a96cf58060560498e069a10d94a1ef802b
selinux: do not discard const qualifier in cast

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@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/netnode.c