summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorAjay Singh <ajay.kathat@microchip.com>2018-03-02 19:52:46 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-06 04:11:43 -0800
commit697346817ed8f0219e6d5904e8b6c6753b943cb3 (patch)
tree623f6af666789a8ba8bdbe4456bfecd5e7e0b39f /drivers/staging/wilc1000
parentfab6b7234482003e095ab92d5c299e807be3fcaa (diff)
downloadop-kernel-dev-697346817ed8f0219e6d5904e8b6c6753b943cb3.zip
op-kernel-dev-697346817ed8f0219e6d5904e8b6c6753b943cb3.tar.gz
staging: wilc1000: fix line over 80 char in wilc_scan_complete_received()
Fix 'line over 80 character' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/host_interface.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index e071eaf..ce04622 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -3569,7 +3569,10 @@ void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length)
struct host_if_drv *hif_drv = NULL;
struct wilc_vif *vif;
- id = ((buffer[length - 4]) | (buffer[length - 3] << 8) | (buffer[length - 2] << 16) | (buffer[length - 1] << 24));
+ id = buffer[length - 4];
+ id |= buffer[length - 3] << 8;
+ id |= buffer[length - 2] << 16;
+ id |= buffer[length - 1] << 24;
vif = wilc_get_vif_from_idx(wilc, id);
if (!vif)
return;
OpenPOWER on IntegriCloud