Re: [PATCH] selinux: fix all of the W=1 build warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 13, 2021 at 2:22 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> There were a number of places in the code where the function
> definition did not match the associated comment block as well
> at least one file where the appropriate header files were not
> included (missing function declaration/prototype); this patch
> fixes all of these issue such that building the SELinux code
> with "W=1" is now warning free.
>
>  % make W=1 security/selinux/
>
> Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
> ---
>  security/selinux/avc.c         |   13 ++++++++++++-
>  security/selinux/netlabel.c    |    7 +++++--
>  security/selinux/netport.c     |    2 +-
>  security/selinux/ss/hashtab.c  |    1 +
>  security/selinux/ss/mls.c      |    4 ++++
>  security/selinux/ss/services.c |   14 ++++++++++----
>  6 files changed, 33 insertions(+), 8 deletions(-)

Merged into selinux/next.

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux