[PATCH] Staging: bcm: fix spaces before commas in Bcmchar.c

From: Jack Wilson
Date: Mon Dec 15 2014 - 14:23:22 EST


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@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/