27;
[-Werror,-Wpointer-bool-conversion]
while (p_in->perms && p_in->perms[k]) {
Signed-off-by: Matthias Kaehlcke
---
security/selinux/ss/services.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/serv
eclaration]
Signed-off-by: Matthias Kaehlcke
---
security/selinux/hooks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index e67a526d1f30..450ff9f3161c 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -40
El Fri, May 19, 2017 at 11:45:19AM -0400 Stephen Smalley ha dit:
> On Fri, 2017-05-19 at 11:09 -0400, Paul Moore wrote:
> > On Thu, May 18, 2017 at 3:07 PM, Matthias Kaehlcke
> > wrote:
> > > The array is only referenced in an ARRAY_SIZE() statement. Adding
> > &
-Wunneeded-internal-declaration]
Signed-off-by: Matthias Kaehlcke
---
security/selinux/hooks.c | 16
1 file changed, 16 deletions(-)
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index e67a526d1f30..2e0227b0304f 100644
--- a/security/selinux/hooks.c
+++ b/securi