OSDN Git Service

staging: wilc1000: Fix line over 80 characters
authorDebleena Sen <idebleenasen@gmail.com>
Mon, 4 Mar 2019 14:55:36 +0000 (06:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:18 +0000 (07:05 +0100)
Break the line after '+' to remove the checkpatch.pl warning. Remove
trailing whitespace after '+' if any:
WARNING: line over 80 characters

Signed-off-by: Debleena Sen <idebleenasen@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 5e7a467..75ec752 100644 (file)
@@ -1253,7 +1253,8 @@ static int mgmt_tx(struct wiphy *wiphy,
        struct wilc_priv *priv = wiphy_priv(wiphy);
        struct host_if_drv *wfi_drv = priv->hif_drv;
        struct wilc_vif *vif = netdev_priv(wdev->netdev);
-       u32 buf_len = len + sizeof(p2p_vendor_spec) + sizeof(priv->p2p.local_random);
+       u32 buf_len = len + sizeof(p2p_vendor_spec) +
+                       sizeof(priv->p2p.local_random);
        int ret = 0;
 
        *cookie = prandom_u32();