* [PATCH] Staging:wilc1000:host_interface: fixed 80 character line limit coding style issue
@ 2016-10-21 13:29 Nadim Almas
2016-10-24 10:58 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Nadim Almas @ 2016-10-21 13:29 UTC (permalink / raw)
To: aditya.shankar, ganesh.krishna, gregkh; +Cc: devel, linux-kernel
Fixed coding style issue
Signed-off-by: Nadim Almas <nadim.902@gmail.com>
---
drivers/staging/wilc1000/host_interface.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 0c5dea7..6e6540f 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -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;
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging:wilc1000:host_interface: fixed 80 character line limit coding style issue
2016-10-21 13:29 [PATCH] Staging:wilc1000:host_interface: fixed 80 character line limit coding style issue Nadim Almas
@ 2016-10-24 10:58 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2016-10-24 10:58 UTC (permalink / raw)
To: Nadim Almas; +Cc: aditya.shankar, ganesh.krishna, gregkh, devel, linux-kernel
On Fri, Oct 21, 2016 at 06:59:39PM +0530, Nadim Almas wrote:
> Fixed coding style issue
>
> Signed-off-by: Nadim Almas <nadim.902@gmail.com>
> ---
> drivers/staging/wilc1000/host_interface.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
> index 0c5dea7..6e6540f 100644
> --- a/drivers/staging/wilc1000/host_interface.c
> +++ b/drivers/staging/wilc1000/host_interface.c
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-24 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-21 13:29 [PATCH] Staging:wilc1000:host_interface: fixed 80 character line limit coding style issue Nadim Almas
2016-10-24 10:58 ` Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.