]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: provide spaces around unary operators
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sun, 9 Jun 2019 12:50:24 +0000 (18:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 15:56:00 +0000 (17:56 +0200)
commitaeabd85f7124308aee7566372dd73f007387d209
tree98248cb20f7be9cddd19229b0e6dbdd7a84f3a6f
parent6e276319ce0278c644b8cec89cc9970e33ba22dc
staging: rtl8723bs: provide spaces around unary operators

This patch fixes below issues reported by checkpatch

CHECK: spaces preferred around that '-' (ctx:VxV)
+               skb_copy_bits(pfile->pkt, pfile->buf_len-pfile->pkt_len,
rmem, len);

CHECK: spaces preferred around that '*' (ctx:VxV)
+#define WMM_XMIT_THRESHOLD     (NR_XMITFRAME*2/5)
                                             ^

CHECK: spaces preferred around that '/' (ctx:VxV)
+#define WMM_XMIT_THRESHOLD     (NR_XMITFRAME*2/5)
                                               ^
CHECK: spaces preferred around that '/' (ctx:VxV)
+               if (pxmitpriv->free_xmitframe_cnt > (NR_XMITFRAME/4)) {
                                                                 ^

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/xmit_linux.c