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

Jack Wilson jackwilson128 at gmail.com
Mon Dec 15 19:22:29 UTC 2014


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



More information about the devel mailing list