Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934076Ab1CXT2k (ORCPT ); Thu, 24 Mar 2011 15:28:40 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:60296 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934056Ab1CXT2L (ORCPT ); Thu, 24 Mar 2011 15:28:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=eYOXk8VCVm7LcDBgsN7m3E1bFx+ROc2U9vhEcNP6LzGnJXYmzLrDGUzdyQU0dSIxWz pJKjjATz1RiQN9xiVYTpmZU3nbsfPWigduB3ZF3DYkiWo9frfvr1V5hiQNTpXA4hD4Xm BBS1fCivB0+OgYqu1J6MF6ilJdpMbmamLIjoE= From: "Justin P. Mattock" To: trivial@kernel.org Cc: linux-kernel@vger.kernel.org, "Justin P. Mattock" Subject: [RFC 20/21]security:selinux:selinuxfs.c Remove extra comma. Date: Thu, 24 Mar 2011 12:26:58 -0700 Message-Id: <1300994819-30930-20-git-send-email-justinmattock@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1300994819-30930-1-git-send-email-justinmattock@gmail.com> References: <1300994819-30930-1-git-send-email-justinmattock@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1583 Lines: 55 The patch below removes an extra comma from various parts of the kernel. Please have a look when you have time, and let me know if its legit or not. Signed-off-by: Justin P. Mattock --- security/selinux/selinuxfs.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c index ea39cb7..47b7d62 100644 --- a/security/selinux/selinuxfs.c +++ b/security/selinux/selinuxfs.c @@ -280,7 +280,7 @@ static ssize_t sel_write_disable(struct file *file, const char __user *buf, length = -ENOMEM; if (count >= PAGE_SIZE) - goto out;; + goto out; /* No partial writes. */ length = -EINVAL; @@ -876,12 +876,12 @@ static ssize_t sel_write_user(struct file *file, char *buf, size_t size) length = task_has_security(current, SECURITY__COMPUTE_USER); if (length) - goto out;; + goto out; length = -ENOMEM; con = kzalloc(size + 1, GFP_KERNEL); if (!con) - goto out;; + goto out; length = -ENOMEM; user = kzalloc(size + 1, GFP_KERNEL); @@ -941,7 +941,7 @@ static ssize_t sel_write_member(struct file *file, char *buf, size_t size) length = -ENOMEM; scon = kzalloc(size + 1, GFP_KERNEL); if (!scon) - goto out;; + goto out; length = -ENOMEM; tcon = kzalloc(size + 1, GFP_KERNEL); -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/