]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: fix spacing around arithmetic operators
authorPhilip Thayer <thayerscirez@gmail.com>
Mon, 5 Jan 2026 19:42:27 +0000 (14:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 12:55:05 +0000 (13:55 +0100)
Fixed coding style checks where spaces were missing around subtraction
and addition operators in rtw_cmd.c.

This aligns with the Linux Kernel coding style standards.

Signed-off-by: Philip Thayer <thayerscirez@gmail.com>
Link: https://patch.msgid.link/20260105194226.57035-2-thayerscirez@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c

index d746f0d205ea42bda64c7b9e9b3bef1a22e365f5..836a36c80eb66f2e0cec6aaa5fc458521798400e 100644 (file)
@@ -205,7 +205,7 @@ int rtw_init_evt_priv(struct evt_priv *pevtpriv)
 
        _init_workitem(&pevtpriv->c2h_wk, c2h_wk_callback, NULL);
        pevtpriv->c2h_wk_alive = false;
-       pevtpriv->c2h_queue = rtw_cbuf_alloc(C2H_QUEUE_MAX_LEN+1);
+       pevtpriv->c2h_queue = rtw_cbuf_alloc(C2H_QUEUE_MAX_LEN + 1);
        if (!pevtpriv->c2h_queue)
                return -ENOMEM;