mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
staging: wilc1000: fix line over 80 char for wilc_gnrl_async_info_received()
Fix 'line over 80 char' issue found by checkpatch.pl script. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
05141a62bb
commit
4262d2fc07
@ -3520,7 +3520,10 @@ void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length)
|
||||
|
||||
mutex_lock(&hif_deinit_lock);
|
||||
|
||||
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) {
|
||||
mutex_unlock(&hif_deinit_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user