staging: wilc1000: remove line over 80 char warning in few functions
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 23 Apr 2018 16:33:13 +0000 (22:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:54:14 +0000 (15:54 +0200)
Remove 'line over 80 characters' issues found by checkpatch.pl script
for following functions.

disconnect()
del_pmksa()
wilc_create_wiphy()
del_pmksa()

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 394b606..d3818af 100644 (file)
@@ -816,7 +816,8 @@ static int connect(struct wiphy *wiphy, struct net_device *dev,
        return ret;
 }
 
-static int disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code)
+static int disconnect(struct wiphy *wiphy, struct net_device *dev,
+                     u16 reason_code)
 {
        s32 ret = 0;
        struct wilc_priv *priv;
@@ -1260,7 +1261,8 @@ static int del_pmksa(struct wiphy *wiphy, struct net_device *netdev,
        for (i = 0; i < priv->pmkid_list.numpmkid; i++) {
                if (!memcmp(pmksa->bssid, priv->pmkid_list.pmkidlist[i].bssid,
                            ETH_ALEN)) {
-                       memset(&priv->pmkid_list.pmkidlist[i], 0, sizeof(struct host_if_pmkid));
+                       memset(&priv->pmkid_list.pmkidlist[i], 0,
+                              sizeof(struct host_if_pmkid));
                        break;
                }
        }
@@ -1969,7 +1971,8 @@ static int add_station(struct wiphy *wiphy, struct net_device *dev,
 
        if (vif->iftype == AP_MODE || vif->iftype == GO_MODE) {
                memcpy(sta_params.bssid, mac, ETH_ALEN);
-               memcpy(priv->assoc_stainfo.sta_associated_bss[params->aid], mac, ETH_ALEN);
+               memcpy(priv->assoc_stainfo.sta_associated_bss[params->aid], mac,
+                      ETH_ALEN);
                sta_params.aid = params->aid;
                sta_params.rates_len = params->supported_rates_len;
                sta_params.rates = params->supported_rates;
@@ -2225,7 +2228,8 @@ _fail_:
        return NULL;
 }
 
-struct wireless_dev *wilc_create_wiphy(struct net_device *net, struct device *dev)
+struct wireless_dev *wilc_create_wiphy(struct net_device *net,
+                                      struct device *dev)
 {
        struct wilc_priv *priv;
        struct wireless_dev *wdev;