staging: rtl8712: Add space around '&'
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Mon, 5 Oct 2015 19:18:52 +0000 (00:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:25:32 +0000 (10:25 +0100)
Add space around operator '&'. Problem found using
checkpatch.pl
CHECK: spaces preferred around that '&' (ctx:VxV)

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c

index 425c2b1438e549d5c163c097ccc49e68f1ff0a8e..469c5662c3bbe70bbb11857d695dec781edbc56b 100644 (file)
@@ -278,7 +278,7 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
                }
                /* 5.Download DMEM code size and Load EMEM Code Section */
                memset(ptx_desc, 0, TXDESC_SIZE);
-               ptx_desc->txdw0 |= cpu_to_le32(fwhdr.fw_priv_sz&0x0000ffff);
+               ptx_desc->txdw0 |= cpu_to_le32(fwhdr.fw_priv_sz & 0x0000ffff);
                ptx_desc->txdw0 |= cpu_to_le32(BIT(28));
                memcpy(ppayload, &fwhdr.fwpriv, fwhdr.fw_priv_sz);
                r8712_write_mem(padapter, RTL8712_DMA_VOQ,
@@ -338,7 +338,7 @@ uint rtl8712_hal_init(struct _adapter *padapter)
        r8712_write32(padapter, RCR, (val32 | BIT(25))); /* Append PHY status */
        val32 = 0;
        val32 = r8712_read32(padapter, 0x10250040);
-       r8712_write32(padapter,  0x10250040, (val32&0x00FFFFFF));
+       r8712_write32(padapter,  0x10250040, (val32 & 0x00FFFFFF));
        /* for usb rx aggregation */
        r8712_write8(padapter, 0x102500B5, r8712_read8(padapter, 0x102500B5) |
               BIT(0)); /* page = 128bytes */