Re: wl1251: check return from call to wl1251_acx_arp_ip_filter
From: Kalle Valo <hidden>
Date: 2018-01-08 17:41:09
Also in:
kernel-janitors, linux-wireless, lkml
From: Kalle Valo <hidden>
Date: 2018-01-08 17:41:09
Also in:
kernel-janitors, linux-wireless, lkml
Colin Ian King [off-list ref] wrote:
From: Colin Ian King <redacted>
Currently the less than zero error check on ret is incorrect
as it is checking a far earlier ret assignment rather than the
return from the call to wl1251_acx_arp_ip_filter. Fix this by
adding in the missing assginment.
Detected by CoverityScan, CID#1164835 ("Logically dead code")
Fixes: 204cc5c44fb6 ("wl1251: implement hardware ARP filtering")
Signed-off-by: Colin Ian King <redacted>Patch applied to wireless-drivers-next.git, thanks. ac1181c60822 wl1251: check return from call to wl1251_acx_arp_ip_filter -- https://patchwork.kernel.org/patch/10133201/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches