staging: wfx: fix space after cast operator
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 13 Sep 2021 13:01:54 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 07:16:33 +0000 (09:16 +0200)
checkpatch.pl reports that cast operators should not been followed by a
space.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20210913130203.1903622-24-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/wfx.h

index a8efa25a38ac54111d86c9a724dac854e1c8bbe7..9749602f6cdc7ed81431777c71c3e3da352bc9f7 100644 (file)
@@ -101,7 +101,7 @@ static inline struct wfx_vif *wdev_to_wvif(struct wfx_dev *wdev, int vif_id)
        vif_id = array_index_nospec(vif_id, ARRAY_SIZE(wdev->vif));
        if (!wdev->vif[vif_id])
                return NULL;
-       return (struct wfx_vif *) wdev->vif[vif_id]->drv_priv;
+       return (struct wfx_vif *)wdev->vif[vif_id]->drv_priv;
 }
 
 static inline struct wfx_vif *wvif_iterate(struct wfx_dev *wdev,