Commit ab46b792 authored by Nandini Hanumanthagowda's avatar Nandini Hanumanthagowda Committed by Greg Kroah-Hartman

staging: bcm: removed prohibited space before semicolon

removed prohibited space before semicolon(;) to fix
checkpatch warning
Signed-off-by: default avatarNandini Hanumanthagowda <nandu.hgowda@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Reviewed-by: default avatarLisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afbab210
...@@ -1190,7 +1190,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) ...@@ -1190,7 +1190,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
break; break;
case IOCTL_BCM_CAL_INIT: { case IOCTL_BCM_CAL_INIT: {
UINT uiSectorSize = 0 ; UINT uiSectorSize = 0;
if (Adapter->eNVMType == NVM_FLASH) { if (Adapter->eNVMType == NVM_FLASH) {
if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer))) if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer)))
return -EFAULT; return -EFAULT;
...@@ -1403,7 +1403,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) ...@@ -1403,7 +1403,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
case IOCTL_BCM_FLASH2X_SECTION_READ: { case IOCTL_BCM_FLASH2X_SECTION_READ: {
struct bcm_flash2x_readwrite sFlash2xRead = {0}; struct bcm_flash2x_readwrite sFlash2xRead = {0};
PUCHAR pReadBuff = NULL ; PUCHAR pReadBuff = NULL;
UINT NOB = 0; UINT NOB = 0;
UINT BuffSize = 0; UINT BuffSize = 0;
UINT ReadBytes = 0; UINT ReadBytes = 0;
...@@ -1438,7 +1438,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) ...@@ -1438,7 +1438,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
else else
BuffSize = NOB; BuffSize = NOB;
ReadOffset = sFlash2xRead.offset ; ReadOffset = sFlash2xRead.offset;
OutPutBuff = IoBuffer.OutputBuffer; OutPutBuff = IoBuffer.OutputBuffer;
pReadBuff = (PCHAR)kzalloc(BuffSize , GFP_KERNEL); pReadBuff = (PCHAR)kzalloc(BuffSize , GFP_KERNEL);
...@@ -1483,7 +1483,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) ...@@ -1483,7 +1483,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
NOB = NOB - ReadBytes; NOB = NOB - ReadBytes;
if (NOB) { if (NOB) {
ReadOffset = ReadOffset + ReadBytes; ReadOffset = ReadOffset + ReadBytes;
OutPutBuff = OutPutBuff + ReadBytes ; OutPutBuff = OutPutBuff + ReadBytes;
} }
} }
...@@ -1538,7 +1538,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) ...@@ -1538,7 +1538,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
if (NOB > Adapter->uiSectorSize) if (NOB > Adapter->uiSectorSize)
BuffSize = Adapter->uiSectorSize; BuffSize = Adapter->uiSectorSize;
else else
BuffSize = NOB ; BuffSize = NOB;
pWriteBuff = kmalloc(BuffSize, GFP_KERNEL); pWriteBuff = kmalloc(BuffSize, GFP_KERNEL);
...@@ -1841,10 +1841,10 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) ...@@ -1841,10 +1841,10 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg)
case IOCTL_BCM_NVM_RAW_READ: { case IOCTL_BCM_NVM_RAW_READ: {
struct bcm_nvm_readwrite stNVMRead; struct bcm_nvm_readwrite stNVMRead;
INT NOB ; INT NOB;
INT BuffSize ; INT BuffSize;
INT ReadOffset = 0; INT ReadOffset = 0;
UINT ReadBytes = 0 ; UINT ReadBytes = 0;
PUCHAR pReadBuff; PUCHAR pReadBuff;
void __user *OutPutBuff; void __user *OutPutBuff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment