Re: [PATCH RFC v2 1/22] selinux: supply missing field initializers

From: Paul Moore
Date: Tue Jan 07 2025 - 22:00:05 EST


On Dec 16, 2024 =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgoettsche@xxxxxxxxxxxxx> wrote:
>
> Please clang by supplying the missing field initializes:
>
> security/selinux/selinuxfs.c:2004:21: warning: missing field 'ops' initializer [-Wmissing-field-initializers]
> 2004 | /* last one */ {""}
> | ^
> ./security/selinux/include/classmap.h:182:9: warning: missing field 'perms' initializer [-Wmissing-field-initializers]
> 182 | { NULL }
> | ^
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
> ---
> security/selinux/include/classmap.h | 2 +-
> security/selinux/selinuxfs.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

Merged into selinux/dev, thanks.

In the future, please try to write the commit descriptions such that
they display without line wraps when using 'git log' on an 80-char wide
terminal.

--
paul-moore.com