From: "Justin P. Mattock" <justinmattock@gmail.com>
To: trivial@kernel.org
Cc: linux-kernel@vger.kernel.org,
"Justin P. Mattock" <justinmattock@gmail.com>
Subject: [RFC V2 20/21]security:selinux:selinuxfs.c Remove extra semi-colon.
Date: Thu, 24 Mar 2011 13:18:39 -0700 [thread overview]
Message-ID: <1300997920-31573-20-git-send-email-justinmattock@gmail.com> (raw)
In-Reply-To: <1300997920-31573-1-git-send-email-justinmattock@gmail.com>
The patch below removes an extra semi-colon 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 <justinmattock@gmail.com>
---
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
next prev parent reply other threads:[~2011-03-24 20:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 20:18 [RFC V2 01/21]arch:arm:mach " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 02/21]arch:ia64 " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 03/21]arch:um:drivers:mmapper_kern.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 04/21]arch:s390:hypfs:hypfs.h " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 05/21]drivers:scsi " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 06/21]drivers:leds:leds-mc13783.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 07/21]drivers:xen " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 08/21]drivers:tty:serial:mrst_max3110.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 09/21]drivers:power:intel_mid_battery.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 10/21]drivers:gpio:langwell_gpio.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 11/21]drivers:net " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 12/21]drivers:video:mxsfb.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 13/21]drivers:i2c:busses:i2c-designware.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 14/21]drivers:staging " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 15/21]drivers:target " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 16/21]fs:logfs " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 17/21]kernel:pm_qos_params.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 18/21]mm:hugetlb.c " Justin P. Mattock
2011-03-24 20:18 ` [RFC V2 19/21]net remove " Justin P. Mattock
2011-03-24 20:18 ` Justin P. Mattock [this message]
2011-03-24 20:18 ` [RFC V2 21/21]tools:power:x86:turbostat:turbostat.c Remove " Justin P. Mattock
2011-04-10 15:09 ` [RFC V2 01/21]arch:arm:mach " Jiri Kosina
2011-04-10 18:49 ` Justin P. Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1300997920-31573-20-git-send-email-justinmattock@gmail.com \
--to=justinmattock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®