]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: wilc1000: fix line over 80 char in wilc_scan_complete_received()
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 2 Mar 2018 14:22:46 +0000 (19:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:11:43 +0000 (04:11 -0800)
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>
drivers/staging/wilc1000/host_interface.c

index e071eaf09c10646eeeea462ea640ad247d8d749f..ce04622afd5e61f862da09d8f31aba4fb77fe404 100644 (file)
@@ -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;