Commit e8976008 authored by Josenivaldo Benito Jr's avatar Josenivaldo Benito Jr Committed by Greg Kroah-Hartman

staging: rtl8723bs: Correct errors from checkpatch

Correct following errors reported by checkpath.pl:

ERROR: space required before the open parenthesis '(' #265: FILE:
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c:265:
+                       if(!precvframe) ')'

Also similar errors on line 274 and 283.
Signed-off-by: default avatarJosenivaldo Benito Jr <jrbenito@benito.qsl.br>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 43671e60
...@@ -262,7 +262,7 @@ static void rtl8723bs_recv_tasklet(void *priv) ...@@ -262,7 +262,7 @@ static void rtl8723bs_recv_tasklet(void *priv)
while (ptr < precvbuf->ptail) { while (ptr < precvbuf->ptail) {
precvframe = try_alloc_recvframe(precvpriv, precvbuf); precvframe = try_alloc_recvframe(precvpriv, precvbuf);
if(!precvframe) if (!precvframe)
return; return;
/* rx desc parsing */ /* rx desc parsing */
...@@ -271,7 +271,7 @@ static void rtl8723bs_recv_tasklet(void *priv) ...@@ -271,7 +271,7 @@ static void rtl8723bs_recv_tasklet(void *priv)
pattrib = &precvframe->u.hdr.attrib; pattrib = &precvframe->u.hdr.attrib;
if(rx_crc_err(precvpriv, p_hal_data, if (rx_crc_err(precvpriv, p_hal_data,
pattrib, precvframe)) pattrib, precvframe))
break; break;
...@@ -280,7 +280,7 @@ static void rtl8723bs_recv_tasklet(void *priv) ...@@ -280,7 +280,7 @@ static void rtl8723bs_recv_tasklet(void *priv)
pattrib->shift_sz + pattrib->shift_sz +
pattrib->pkt_len; pattrib->pkt_len;
if(pkt_exceeds_tail(precvpriv, ptr + pkt_offset, if (pkt_exceeds_tail(precvpriv, ptr + pkt_offset,
precvbuf->ptail, precvframe)) precvbuf->ptail, precvframe))
break; break;
......
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