Skip to contentSkip to conversation

Staging:wilc1000:host_interface: fixed 80 character line limit coding style issue

PATCH In review Nadim Almas 2 participants 2 messages Oct 21, 2016 – Oct 24, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging:wilc1000:host_interface: fixed 80 character line limit coding style issue

Fixed coding style issue

---
 drivers/staging/wilc1000/host_interface.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/wilc1000/host_interface.c +4 -2
index 0c5dea7..6e6540f 100644
@@ -497,10 +497,12 @@ static void handle_cfg_param(struct wilc_vif *vif,
 	if (cfg_param_attr->flag & POWER_MANAGEMENT) {
 		if (cfg_param_attr->power_mgmt_mode < 5) {
 			wid_list[i].id = WID_POWER_MANAGEMENT;
-			wid_list[i].val = (s8 *)&cfg_param_attr->power_mgmt_mode;
+			wid_list[i].val = (s8 *)&cfg_param_attr->
+							       power_mgmt_mode;
 			wid_list[i].type = WID_CHAR;
 			wid_list[i].size = sizeof(char);
-			hif_drv->cfg_values.power_mgmt_mode = (u8)cfg_param_attr->power_mgmt_mode;
+			hif_drv->cfg_values.power_mgmt_mode =
+					   (u8)cfg_param_attr->power_mgmt_mode;
 		} else {
 			netdev_err(vif->ndev, "Invalid power mode\n");
 			goto unlock;
Signature · 1 line
2.7.4
#1 lore raw
Quoted 12 lines · Nadim Almas

Fixed coding style issue

---
 drivers/staging/wilc1000/host_interface.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/wilc1000/host_interface.c +0 -0
index 0c5dea7..6e6540f 100644

drivers/staging/wilc1000/host_interface.c static void handle_cfg_param(struct wilc_vif *vif, · line 501

Quoted 6 lines
drivers/staging/wilc1000/host_interface.c +2 -1
@@ -497,10 +497,12 @@ static void handle_cfg_param(struct wilc_vif *vif,
 	if (cfg_param_attr->flag & POWER_MANAGEMENT) {
 		if (cfg_param_attr->power_mgmt_mode < 5) {
 			wid_list[i].id = WID_POWER_MANAGEMENT;
-			wid_list[i].val = (s8 *)&cfg_param_attr->power_mgmt_mode;
+			wid_list[i].val = (s8 *)&cfg_param_attr->
+							       power_mgmt_mode;

The original was easier to read.

regards,
dan carpenter