mirror of
https://github.com/torvalds/linux.git
synced 2026-08-11 09:54:21 +02:00
staging: r8188eu: clean up spacing style issues in core/rtw_mp.c
Clean up spacing style issues in core/rtw_mp.c reported by checkpatch.
CHECK: spaces preferred around that ...
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210816155818.24005-13-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4257c1c3b0
commit
61249f2268
|
|
@ -595,7 +595,7 @@ static int mp_xmit_packet_thread(void *context)
|
|||
}
|
||||
}
|
||||
|
||||
memcpy((u8 *)(pxmitframe->buf_addr+TXDESC_OFFSET), pmptx->buf, pmptx->write_size);
|
||||
memcpy((u8 *)(pxmitframe->buf_addr + TXDESC_OFFSET), pmptx->buf, pmptx->write_size);
|
||||
memcpy(&pxmitframe->attrib, &pmptx->attrib, sizeof(struct pkt_attrib));
|
||||
|
||||
dump_mpframe(padapter, pxmitframe);
|
||||
|
|
@ -698,7 +698,7 @@ void SetPacketTx(struct adapter *padapter)
|
|||
/* offset 8 */
|
||||
/* offset 12 */
|
||||
|
||||
desc->txdw3 |= cpu_to_le32((pattrib->seqnum<<16)&0x0fff0000);
|
||||
desc->txdw3 |= cpu_to_le32((pattrib->seqnum << 16) & 0x0fff0000);
|
||||
|
||||
/* offset 16 */
|
||||
desc->txdw4 |= cpu_to_le32(HW_SSN);
|
||||
|
|
@ -882,7 +882,7 @@ u32 mp_query_psd(struct adapter *pAdapter, u8 *data)
|
|||
i = psd_start;
|
||||
while (i < psd_stop) {
|
||||
if (i >= psd_pts) {
|
||||
psd_data = rtw_GetPSDData(pAdapter, i-psd_pts);
|
||||
psd_data = rtw_GetPSDData(pAdapter, i - psd_pts);
|
||||
} else {
|
||||
psd_data = rtw_GetPSDData(pAdapter, i);
|
||||
}
|
||||
|
|
@ -891,7 +891,7 @@ u32 mp_query_psd(struct adapter *pAdapter, u8 *data)
|
|||
}
|
||||
|
||||
msleep(100);
|
||||
return strlen(data)+1;
|
||||
return strlen(data) + 1;
|
||||
}
|
||||
|
||||
void _rtw_mp_xmit_priv(struct xmit_priv *pxmitpriv)
|
||||
|
|
@ -964,7 +964,7 @@ void _rtw_mp_xmit_priv(struct xmit_priv *pxmitpriv)
|
|||
;
|
||||
}
|
||||
|
||||
void Hal_ProSetCrystalCap (struct adapter *pAdapter, u32 CrystalCapVal)
|
||||
void Hal_ProSetCrystalCap(struct adapter *pAdapter, u32 CrystalCapVal)
|
||||
{
|
||||
CrystalCapVal = CrystalCapVal & 0x3F;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user