Skip to contentSkip to conversation

Staging: bcm: fix spaces before commas in Bcmchar.c

PATCH In review Jack Wilson 3 participants 3 messages Dec 15, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: bcm: fix spaces before commas in Bcmchar.c

This is a patch to the Bcmchar.c file that fixes a space before comma warning found by checkpatch.pl.

---
 drivers/staging/bcm/Bcmchar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/bcm/Bcmchar.c +2 -2
index 88ce2da..37a184a 100644
@@ -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");
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 4 lines · Jack Wilson

This is a patch to the Bcmchar.c file that fixes a space before comma warning found by checkpatch.pl.

---
 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...

#2 lore raw
In reply to Jack Wilson

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!

Quoted 2 lines · Jack Wilson

This is a patch to the Bcmchar.c file that fixes a space before comma warning found by checkpatch.pl.

Signature · 6 lines
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.