Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2305070ybg; Sat, 19 Oct 2019 12:21:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwOi2L1fS+lhbeVyaZZaW0Ka+SAwdrzljWm5t/T22Gkb+tgSazApJ0Gup1PtfK7QvW32HY X-Received: by 2002:a17:906:a986:: with SMTP id jr6mr14453735ejb.158.1571512915259; Sat, 19 Oct 2019 12:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571512915; cv=none; d=google.com; s=arc-20160816; b=njtDSqt7D9281Qi3/iA0qtPh/cdjYIMq22jFRGW2BdbLlfJONFbhSaHCmFS0SzzL3n nmEn2PbMxZoVDBBvcxuXEhZSvKLa3hc56xwFIfW1n73YP6NbrCx/6WbFMSTfTWhNfFz+ 6rhv+EyyqWIpAXwXNOQHHASlf6Zhgy5gXTK5oxVZvy3du/BE1EBuwXvDOEY9nLJHw/uA CUFx8kmJa5HwZcHQWDloFPwf6E89rwAM7cEJmoZ3lYd+E+UfSZq0mEcaIiH2mm/aeIsL H9gOjmr8leo0F25ZXmCxJp1mbvHBA7H4hbab/NAMt3rzXRDuwF0z3EL2qtF6cOb4UQAU haug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=Ko6wo9wHom4Uq4IgM+ZKCJJo5mVzjVgkBqe4LuKMqoI=; b=AA4rmAtDEMfUidOtsBIMLzMQMgL7uTpDmzsgzebL9pACTlaLNiyQZoA9OhMTqAk/w7 CyefLQVQyaMm+fK2M7gM/5YX7AtYCttAnoLOVEEHwdxYCmuCqD242cD5lFL+POgWmIF+ +kupU1aDOL6xlIt9Y5gb/7/AO//ufDmHqErNxdo+vTDJifgTzUP4tUzCt3tREZ0Toix0 W5VUsEpJ5HEPbID/LZ4Zwe+PDbuWQmBCO/JNFItSZVqUY2NNFsUi50WQ46D3kAwUSbK6 QstfC94UDyY1PsLeW/xdTMIr5fZKBi+t37gipnSZfOZLQFQ4w2gGl3nShpdOFp1xSBwY Ly3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d25si5876361eds.40.2019.10.19.12.21.32; Sat, 19 Oct 2019 12:21:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726214AbfJSTRD (ORCPT + 99 others); Sat, 19 Oct 2019 15:17:03 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:42668 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbfJSTRC (ORCPT ); Sat, 19 Oct 2019 15:17:02 -0400 Received: from localhost (unknown [64.79.112.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 15CB6149111B4; Sat, 19 Oct 2019 12:17:02 -0700 (PDT) Date: Sat, 19 Oct 2019 12:17:01 -0700 (PDT) Message-Id: <20191019.121701.1422979804966345191.davem@davemloft.net> To: chenwandun@huawei.com Cc: igor.russkikh@aquantia.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: aquantia: add an error handling in aq_nic_set_multicast_list From: David Miller In-Reply-To: <1571394037-19978-1-git-send-email-chenwandun@huawei.com> References: <1571394037-19978-1-git-send-email-chenwandun@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 19 Oct 2019 12:17:02 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen Wandun Date: Fri, 18 Oct 2019 18:20:37 +0800 > From: Chenwandun > > add an error handling in aq_nic_set_multicast_list, it may not > work when hw_multicast_list_set error; and at the same time > it will remove gcc Wunused-but-set-variable warning. > > Signed-off-by: Chenwandun Applied, thanks.