mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jack Wilson <jackwilson128@gmail.com>
To: gregkh@linuxfoundation.org, mail@beyermatthias.de,
	davej@redhat.com, ebru.akagunduz@gmail.com,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Cc: Jack Wilson <jackwilson128@gmail.com>
Subject: [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c
Date: Mon, 15 Dec 2014 11:22:29 -0800	[thread overview]
Message-ID: <1418671349-4014-1-git-send-email-jackwilson128@gmail.com> (raw)

This is a patch to the Bcmchar.c file that fixes a space before comma warning found by checkpatch.pl.
Signed-off-by: Jack Wilson <jackwilson128@gmail.com>
---
 drivers/staging/bcm/Bcmchar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c
index 88ce2da..37a184a 100644
--- a/drivers/staging/bcm/Bcmchar.c
+++ b/drivers/staging/bcm/Bcmchar.c
@@ -1647,7 +1647,7 @@ static int bcm_char_ioctl_flash2x_section_read(void __user *argp,
 
 	read_offset = flash_2x_read.offset;
 	OutPutBuff = io_buff.OutputBuffer;
-	read_buff = kzalloc(buff_size , GFP_KERNEL);
+	read_buff = kzalloc(buff_size, GFP_KERNEL);
 
 	if (read_buff == NULL) {
 		BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0,
@@ -2192,7 +2192,7 @@ static int bcm_char_ioctl_nvm_raw_read(void __user *argp,
 	read_offset = nvm_read.uiOffset;
 	OutPutBuff = nvm_read.pBuffer;
 
-	read_buff = kzalloc(buff_size , GFP_KERNEL);
+	read_buff = kzalloc(buff_size, GFP_KERNEL);
 	if (read_buff == NULL) {
 		BCM_DEBUG_PRINT(ad, DBG_TYPE_PRINTK, 0, 0,
 				"Memory allocation failed for Flash 2.x Read Structure");
-- 
1.9.1


             reply	other threads:[~2014-12-15 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 19:22 Jack Wilson [this message]
2014-12-15 19:32 ` Greg KH
2014-12-15 21:46 ` Matthias Beyer

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=1418671349-4014-1-git-send-email-jackwilson128@gmail.com \
    --to=jackwilson128@gmail.com \
    --cc=davej@redhat.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=ebru.akagunduz@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mail@beyermatthias.de \
    /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®