Commit aa8591db authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: rtl8188eu: add spaces around '>>' and '&'

Add spaces around '>>' and '&' to follow kernel coding style.
Reported by checkpatch.
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 718d2523
...@@ -173,7 +173,7 @@ static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb) ...@@ -173,7 +173,7 @@ static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb)
pkt_copy = NULL; pkt_copy = NULL;
if (transfer_len > 0 && pkt_cnt == 0) if (transfer_len > 0 && pkt_cnt == 0)
pkt_cnt = (le32_to_cpu(prxstat->rxdw2)>>16) & 0xff; pkt_cnt = (le32_to_cpu(prxstat->rxdw2) >> 16) & 0xff;
} while ((transfer_len > 0) && (pkt_cnt > 0)); } while ((transfer_len > 0) && (pkt_cnt > 0));
...@@ -299,7 +299,7 @@ u8 usb_read8(struct adapter *adapter, u32 addr) ...@@ -299,7 +299,7 @@ u8 usb_read8(struct adapter *adapter, u32 addr)
requesttype = 0x01;/* read_in */ requesttype = 0x01;/* read_in */
index = 0;/* n/a */ index = 0;/* n/a */
wvalue = (u16)(addr&0x0000ffff); wvalue = (u16)(addr & 0x0000ffff);
len = 1; len = 1;
usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype);
...@@ -319,11 +319,11 @@ u16 usb_read16(struct adapter *adapter, u32 addr) ...@@ -319,11 +319,11 @@ u16 usb_read16(struct adapter *adapter, u32 addr)
request = 0x05; request = 0x05;
requesttype = 0x01;/* read_in */ requesttype = 0x01;/* read_in */
index = 0;/* n/a */ index = 0;/* n/a */
wvalue = (u16)(addr&0x0000ffff); wvalue = (u16)(addr & 0x0000ffff);
len = 2; len = 2;
usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype);
return (u16)(le32_to_cpu(data)&0xffff); return (u16)(le32_to_cpu(data) & 0xffff);
} }
u32 usb_read32(struct adapter *adapter, u32 addr) u32 usb_read32(struct adapter *adapter, u32 addr)
...@@ -339,7 +339,7 @@ u32 usb_read32(struct adapter *adapter, u32 addr) ...@@ -339,7 +339,7 @@ u32 usb_read32(struct adapter *adapter, u32 addr)
requesttype = 0x01;/* read_in */ requesttype = 0x01;/* read_in */
index = 0;/* n/a */ index = 0;/* n/a */
wvalue = (u16)(addr&0x0000ffff); wvalue = (u16)(addr & 0x0000ffff);
len = 4; len = 4;
usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype); usbctrl_vendorreq(adapter, request, wvalue, index, &data, len, requesttype);
...@@ -520,7 +520,7 @@ int usb_write8(struct adapter *adapter, u32 addr, u8 val) ...@@ -520,7 +520,7 @@ int usb_write8(struct adapter *adapter, u32 addr, u8 val)
request = 0x05; request = 0x05;
requesttype = 0x00;/* write_out */ requesttype = 0x00;/* write_out */
index = 0;/* n/a */ index = 0;/* n/a */
wvalue = (u16)(addr&0x0000ffff); wvalue = (u16)(addr & 0x0000ffff);
len = 1; len = 1;
data = val; data = val;
return usbctrl_vendorreq(adapter, request, wvalue, return usbctrl_vendorreq(adapter, request, wvalue,
...@@ -540,7 +540,7 @@ int usb_write16(struct adapter *adapter, u32 addr, u16 val) ...@@ -540,7 +540,7 @@ int usb_write16(struct adapter *adapter, u32 addr, u16 val)
requesttype = 0x00;/* write_out */ requesttype = 0x00;/* write_out */
index = 0;/* n/a */ index = 0;/* n/a */
wvalue = (u16)(addr&0x0000ffff); wvalue = (u16)(addr & 0x0000ffff);
len = 2; len = 2;
data = cpu_to_le32(val & 0x0000ffff); data = cpu_to_le32(val & 0x0000ffff);
...@@ -562,7 +562,7 @@ int usb_write32(struct adapter *adapter, u32 addr, u32 val) ...@@ -562,7 +562,7 @@ int usb_write32(struct adapter *adapter, u32 addr, u32 val)
requesttype = 0x00;/* write_out */ requesttype = 0x00;/* write_out */
index = 0;/* n/a */ index = 0;/* n/a */
wvalue = (u16)(addr&0x0000ffff); wvalue = (u16)(addr & 0x0000ffff);
len = 4; len = 4;
data = cpu_to_le32(val); data = cpu_to_le32(val);
......
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