summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-01-22 15:52:16 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-23 11:47:29 +0100
commit387fbf00771fc27521b7176ee630cfbc571b7f62 (patch)
treecd5b5d9bc24bf211c218d315e1a5c4c7ca7adc3f /drivers/staging/wilc1000/host_interface.c
parentc37d652a065fd82aef62c46cb449b41992e27b9c (diff)
downloadop-kernel-dev-387fbf00771fc27521b7176ee630cfbc571b7f62.zip
op-kernel-dev-387fbf00771fc27521b7176ee630cfbc571b7f62.tar.gz
staging: wilc1000: fix alignments to match open parenthesis
Fix "Alignment should match open parenthesis" issues reported by checkpatch.pl script. changes to comply with linux coding style. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 46e2d55..358354b 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3730,8 +3730,8 @@ int wilc_add_station(struct wilc_vif *vif, struct add_sta_param *sta_param)
memcpy(add_sta_info, sta_param, sizeof(struct add_sta_param));
if (add_sta_info->rates_len > 0) {
add_sta_info->rates = kmemdup(sta_param->rates,
- add_sta_info->rates_len,
- GFP_KERNEL);
+ add_sta_info->rates_len,
+ GFP_KERNEL);
if (!add_sta_info->rates)
return -ENOMEM;
}
OpenPOWER on IntegriCloud