Messages in this thread | | | Subject | Re: wl1251: check return from call to wl1251_acx_arp_ip_filter | From | Kalle Valo <> | Date | Mon, 8 Jan 2018 17:41:05 +0000 (UTC) |
| |
Colin Ian King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com> > > 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 <colin.king@canonical.com>
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
| |