From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: wl1251: check return from call to wl1251_acx_arp_ip_filter Date: Mon, 8 Jan 2018 17:41:05 +0000 (UTC) Message-ID: <20180108174105.1C68E60314@smtp.codeaurora.org> References: <20171226173318.5076-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: Pavel Machek , Cong Wang , Johannes Berg , "David S . Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org To: Colin Ian King Return-path: In-Reply-To: <20171226173318.5076-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Colin Ian King wrote: > From: Colin Ian King > > 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 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