Staging: rtl8723bs: fix spaces in rtw_cmd.c
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:05:22 +0000 (18:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Mar 2021 11:23:14 +0000 (12:23 +0100)
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #206: FILE: ./core/rtw_cmd.c:206:
    +static void c2h_wk_callback(struct work_struct * work);

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-2-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c

index 073348d..e671ccf 100644 (file)
@@ -203,7 +203,7 @@ exit:
        return res;
 }
 
-static void c2h_wk_callback(struct work_struct * work);
+static void c2h_wk_callback(struct work_struct *work);
 int rtw_init_evt_priv(struct evt_priv *pevtpriv)
 {
        /* allocate DMA-able/Non-Page memory for cmd_buf and rsp_buf */