From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754754AbeAHRlJ (ORCPT + 1 other); Mon, 8 Jan 2018 12:41:09 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:57106 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966AbeAHRlF (ORCPT ); Mon, 8 Jan 2018 12:41:05 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AD513601D4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: wl1251: check return from call to wl1251_acx_arp_ip_filter From: Kalle Valo In-Reply-To: <20171226173318.5076-1-colin.king@canonical.com> References: <20171226173318.5076-1-colin.king@canonical.com> To: Colin Ian King 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 User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20180108174105.1C68E60314@smtp.codeaurora.org> Date: Mon, 8 Jan 2018 17:41:05 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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