From: Fabian Holler <fabian.holler@profitbricks.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Fabian Holler <fabian.holler@profitbricks.com>
Subject: [PATCH 2/3] staging: android: remove blank lines after open braces
Date: Wed, 7 Jan 2015 10:39:53 +0100 [thread overview]
Message-ID: <1f31dcecb2292f8dc7d5b5958c51d738d36074ee.1420622282.git.fabian.holler@profitbricks.com> (raw)
In-Reply-To: <cover.1420622282.git.fabian.holler@profitbricks.com>
In-Reply-To: <cover.1420622282.git.fabian.holler@profitbricks.com>
This patch fixes the following checkpatch.pl warnings:
ashmem.c:552: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
ashmem.c:801: CHECK:BRACES: Blank lines aren't necessary after an open brace
Signed-off-by: Fabian Holler <fabian.holler@profitbricks.com>
---
drivers/staging/android/ashmem.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
index 181a71e..6b228d9 100644
--- a/drivers/staging/android/ashmem.c
+++ b/drivers/staging/android/ashmem.c
@@ -549,7 +549,6 @@ static int get_name(struct ashmem_area *asma, void __user *name)
mutex_lock(&ashmem_mutex);
if (asma->name[ASHMEM_NAME_PREFIX_LEN] != '\0') {
-
/*
* Copying only `len', instead of ASHMEM_NAME_LEN, bytes
* prevents us from revealing one user's stack to another.
@@ -798,7 +797,6 @@ static long ashmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static long compat_ashmem_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
{
-
switch (cmd) {
case COMPAT_ASHMEM_SET_SIZE:
cmd = ASHMEM_SET_SIZE;
--
2.1.3
next prev parent reply other threads:[~2015-01-07 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-07 9:39 [PATCH 0/3] staging: android: fix checkpatch warnings in ashmem.c Fabian Holler
2015-01-07 9:39 ` [PATCH 1/3] staging: android: fix indentation to match open parenthesis Fabian Holler
2015-01-07 9:39 ` Fabian Holler [this message]
2015-01-07 9:39 ` [PATCH 3/3] staging: android: remove space after casts Fabian Holler
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=1f31dcecb2292f8dc7d5b5958c51d738d36074ee.1420622282.git.fabian.holler@profitbricks.com \
--to=fabian.holler@profitbricks.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.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®