From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932768AbdCWU20 (ORCPT ); Thu, 23 Mar 2017 16:28:26 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:33698 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932419AbdCWU2Y (ORCPT ); Thu, 23 Mar 2017 16:28:24 -0400 MIME-Version: 1.0 X-Originating-IP: [108.49.102.27] In-Reply-To: <86979267-24ac-ce16-a150-43677ac78a0b@users.sourceforge.net> References: <86979267-24ac-ce16-a150-43677ac78a0b@users.sourceforge.net> From: Paul Moore Date: Thu, 23 Mar 2017 16:28:05 -0400 Message-ID: Subject: Re: [PATCH 02/46] selinux: Delete an unnecessary return statement in cond_compute_av() To: SF Markus Elfring Cc: linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, Eric Paris , James Morris , "Serge E. Hallyn" , Stephen Smalley , William Roberts , LKML , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 15, 2017 at 9:58 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 11:00:23 +0100 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: void function return statements are not generally useful > > Thus remove such a statement in the affected function. > > Signed-off-by: Markus Elfring > --- > security/selinux/ss/conditional.c | 1 - > 1 file changed, 1 deletion(-) Merged, thanks. > diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c > index fcfab2635c11..4a3bf29f7565 100644 > --- a/security/selinux/ss/conditional.c > +++ b/security/selinux/ss/conditional.c > @@ -664,5 +664,4 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key, > (node->key.specified & AVTAB_XPERMS)) > services_compute_xperms_drivers(xperms, node); > } > - return; > } > -- > 2.11.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-security-module" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- paul moore www.paul-moore.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Moore Date: Thu, 23 Mar 2017 20:28:05 +0000 Subject: Re: [PATCH 02/46] selinux: Delete an unnecessary return statement in cond_compute_av() Message-Id: List-Id: References: <86979267-24ac-ce16-a150-43677ac78a0b@users.sourceforge.net> In-Reply-To: <86979267-24ac-ce16-a150-43677ac78a0b@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-security-module@vger.kernel.org On Sun, Jan 15, 2017 at 9:58 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 11:00:23 +0100 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: void function return statements are not generally useful > > Thus remove such a statement in the affected function. > > Signed-off-by: Markus Elfring > --- > security/selinux/ss/conditional.c | 1 - > 1 file changed, 1 deletion(-) Merged, thanks. > diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c > index fcfab2635c11..4a3bf29f7565 100644 > --- a/security/selinux/ss/conditional.c > +++ b/security/selinux/ss/conditional.c > @@ -664,5 +664,4 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key, > (node->key.specified & AVTAB_XPERMS)) > services_compute_xperms_drivers(xperms, node); > } > - return; > } > -- > 2.11.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-security-module" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- paul moore www.paul-moore.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: paul@paul-moore.com (Paul Moore) Date: Thu, 23 Mar 2017 16:28:05 -0400 Subject: [PATCH 02/46] selinux: Delete an unnecessary return statement in cond_compute_av() In-Reply-To: <86979267-24ac-ce16-a150-43677ac78a0b@users.sourceforge.net> References: <86979267-24ac-ce16-a150-43677ac78a0b@users.sourceforge.net> Message-ID: To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Sun, Jan 15, 2017 at 9:58 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 11:00:23 +0100 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: void function return statements are not generally useful > > Thus remove such a statement in the affected function. > > Signed-off-by: Markus Elfring > --- > security/selinux/ss/conditional.c | 1 - > 1 file changed, 1 deletion(-) Merged, thanks. > diff --git a/security/selinux/ss/conditional.c b/security/selinux/ss/conditional.c > index fcfab2635c11..4a3bf29f7565 100644 > --- a/security/selinux/ss/conditional.c > +++ b/security/selinux/ss/conditional.c > @@ -664,5 +664,4 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key, > (node->key.specified & AVTAB_XPERMS)) > services_compute_xperms_drivers(xperms, node); > } > - return; > } > -- > 2.11.0 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-security-module" in > the body of a message to majordomo at vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- paul moore www.paul-moore.com -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html