public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c
@ 2014-12-15 19:22 Jack Wilson
  2014-12-15 19:32 ` Greg KH
  2014-12-15 21:46 ` Matthias Beyer
  0 siblings, 2 replies; 3+ messages in thread
From: Jack Wilson @ 2014-12-15 19:22 UTC (permalink / raw)
  To: gregkh, mail, davej, ebru.akagunduz, devel, linux-kernel; +Cc: Jack Wilson

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c
  2014-12-15 19:22 [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c Jack Wilson
@ 2014-12-15 19:32 ` Greg KH
  2014-12-15 21:46 ` Matthias Beyer
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2014-12-15 19:32 UTC (permalink / raw)
  To: Jack Wilson; +Cc: mail, davej, ebru.akagunduz, devel, linux-kernel

On Mon, Dec 15, 2014 at 11:22:29AM -0800, Jack Wilson wrote:
> 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 ++--

Odd, that file is gone from my tree, I have no idea what tree you are
working against here...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c
  2014-12-15 19:22 [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c Jack Wilson
  2014-12-15 19:32 ` Greg KH
@ 2014-12-15 21:46 ` Matthias Beyer
  1 sibling, 0 replies; 3+ messages in thread
From: Matthias Beyer @ 2014-12-15 21:46 UTC (permalink / raw)
  To: Jack Wilson; +Cc: gregkh, davej, ebru.akagunduz, devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

Hi Jack,

bcm is removed from the linux kernel. You are working against the
wrong tree!

Please work against staging-next of gregkh for staging drivers!

Ask me if you do not understand what the problem is!
Feel free to ask me other questions as well!

On 15-12-2014 11:22:29, Jack Wilson wrote:
> 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>

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-15 21:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 19:22 [PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c Jack Wilson
2014-12-15 19:32 ` Greg KH
2014-12-15 21:46 ` Matthias Beyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox