Messages in this thread Patch in this message | | | From | Quytelda Kahja <> | Subject | [PATCH 13/23] staging: rtl8723bs: Add spaces around ternary operators. | Date | Tue, 27 Mar 2018 01:41:05 -0700 |
| |
The Linux kernel coding style calls for spaces around binary and ternary operators.
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> --- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c index 0e30e984dc1f..9c2d6dd0130f 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c @@ -48,7 +48,7 @@ static void update_recvframe_attrib(struct adapter *padapter, memset(pattrib, 0, sizeof(struct rx_pkt_attrib)); /* update rx report to recv_frame attribute */ - pattrib->pkt_rpt_type = prxreport->c2h_ind?C2H_PACKET:NORMAL_RX; + pattrib->pkt_rpt_type = prxreport->c2h_ind ? C2H_PACKET : NORMAL_RX; /* DBG_871X("%s: pkt_rpt_type =%d\n", __func__, pattrib->pkt_rpt_type); */ if (pattrib->pkt_rpt_type == NORMAL_RX) { -- 2.16.3
| |