Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1098022imm; Fri, 28 Sep 2018 11:56:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV60c5SmEV2T1LObgxvVg7LFuPG38kUWSnafPXIM8owvb65zlhunAAH9YRGorUB7xT7lNo9F3 X-Received: by 2002:a62:6643:: with SMTP id a64-v6mr17996886pfc.202.1538160997880; Fri, 28 Sep 2018 11:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538160997; cv=none; d=google.com; s=arc-20160816; b=VcqRHpaEm5drz34StNdadOxZgxE3h6nsnS/ba82FhV4oxTJCUMkgdI5lOSoy8Fsn+v BNdgggdop4FNEjzL1sy1+4bNsDdwmuwhcZ766hwydMoM5NleX1/qvt0Td5DA5N9y8SJo 4eaDTyyGuArDWDFWvOry8nzigv9KaRKTSIvtKBK+VkrnmTB/6jwEhcyxOGgaqDPMybzs +l30emlKR1dE4H8e1vJ97uixxXUUZnjDr1bJLUCfITDdaTNPd6tY4Tq2b7qrUpWyayu9 phnSoMIruWokeFEcz4kiTxcv6H3MSuSsm5/c+ZUiV1LmmNHc7W5rYiu3aMaPPsQvXLTF xz0w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=t8cvk33696EpPlCMFNiCTcIEesbPVe5Es2lfZq4TIX0=; b=TS0vA97GmASVmWM2aEB97KTCuXEOySaJAd5uVzqnUkV2QPHIvSxjInZk09Xl9OWFaM WDP/rYToCZvyU21kkzSzeYls7OMVkjbALu9wN7rwORSJhvAPFhu9j8U1nXFk4JOHbeId u+KeeIXm6vPOcrLahk6q9aqw/GTEQJ/Wru/ryw6DKwd9gZEve562jjotQRuVSaiiqYv5 pzXsNg2tVK5hpfiBYWx7UdaA1Ba8AEKhaCfVPS3Ds1I8ZvArten3BZ65oGSbB0gG6SZ1 rmNjwPw3w7g/brMJttw/T6MxQKwWR/qAQOQXoeAXWLAyMiV6Emrc33OVi8gS/M7fYxWj RQEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BN/zgRaj"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4-v6si5188820plx.519.2018.09.28.11.56.21; Fri, 28 Sep 2018 11:56:37 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BN/zgRaj"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbeI2BVW (ORCPT + 99 others); Fri, 28 Sep 2018 21:21:22 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36416 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbeI2BVW (ORCPT ); Fri, 28 Sep 2018 21:21:22 -0400 Received: by mail-pf1-f193.google.com with SMTP id b7-v6so4917803pfo.3; Fri, 28 Sep 2018 11:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=t8cvk33696EpPlCMFNiCTcIEesbPVe5Es2lfZq4TIX0=; b=BN/zgRajG1Qrs8lwBls3rsnhA2sfSY1xaKoMMtSHBca7h/yAHsK9HYWyiueMuntIhE CrLdaUf2G8tPuTpXIOesA5VVOcoL6qtkg5eVxYUWNrycpjZLuQStX3rUKiP1m0+7n4SI 3/S0tRx8dyHIr5u+C+NxTzlbZgFNoOIwAgqoZe2myN5st+C1HIbNM1eCbb/OH9RhOuwy t46e4HZg5M8KEqRlhfFh1lh96R+4vC27FNiTFCQfZWvuVbUVcxXZEgtRSsore5A16DNl DwVhwKRESC1g5suHItl5ZDLkzy2dufesQGWTugQKHQWC/Nvb55Ct404FI8g9Tg5HmkgB BfBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=t8cvk33696EpPlCMFNiCTcIEesbPVe5Es2lfZq4TIX0=; b=Yy1kI3AVpDqkQadCX6wDXMyYqjyn8tlBhXiIoIRNyie0fb7THdUk1Rh+fjc4JEG16w KTHybl0achX8AARFO2zyE1lAsrWCuu6x0OtyOwhIbeBrTyqdlO0Wa+lmfzwGqT6mToYP cVAgG9hdeca3E72jzpL4KTrE1fxfe0iC++teftngaCJbJBeut4IUiHNrEaDBRWSd413e cw8usab2uic4jtOo3H0x2w5z/7Q6Z42nb0ozmRRn0G2yGFIHRZZs8RC9LOVx+d2bbjv4 pR7hNkpKWaX5c5MkAeGv4X/KKtHnOLYsWxpEet9IHCTwPDqCSla108uC8jBZMatZAc9+ VJdQ== X-Gm-Message-State: ABuFfoir8X5WUt22khkh6279gWmAZy70QVDdVgNwT0y2VVz4WgafNBH4 BXrqE/NKzVxjur/f57/3vuo= X-Received: by 2002:a63:5a0d:: with SMTP id o13-v6mr16380570pgb.267.1538160974576; Fri, 28 Sep 2018 11:56:14 -0700 (PDT) Received: from ?IPv6:2620:15c:2c1:200:55c7:81e6:c7d8:94b? ([2620:15c:2c1:200:55c7:81e6:c7d8:94b]) by smtp.gmail.com with ESMTPSA id o12-v6sm10246436pfh.20.2018.09.28.11.56.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Sep 2018 11:56:13 -0700 (PDT) Subject: Re: [PATCH net-next 00/10] Cleanups, minor additions & fixes for HNS3 driver To: David Miller , salil.mehta@huawei.com Cc: yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com References: <20180926182840.28392-1-salil.mehta@huawei.com> <20180928.103826.486456665561471777.davem@davemloft.net> From: Eric Dumazet Message-ID: <8cc644da-f6f2-9dd4-8f97-b1fa6d9deae7@gmail.com> Date: Fri, 28 Sep 2018 11:56:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180928.103826.486456665561471777.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/28/2018 10:38 AM, David Miller wrote: > From: Salil Mehta > Date: Wed, 26 Sep 2018 19:28:30 +0100 > >> This patch-set contains cleans-ups, minor changes and fixes to the HNS3 driver. > > Series applied, thank you. > Something seems wrong # git grep -n HNS3_SELF_TEST_TYPE_NUM drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:278: int st_param[HNS3_SELF_TEST_TYPE_NUM][2]; drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:316: for (i = 0; i < HNS3_SELF_TEST_TYPE_NUM; i++) { drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c: In function 'hns3_self_test': drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:278:15: error: 'HNS3_SELF_TEST_TYPE_NUM' undeclared (first use in this function) drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:278:15: note: each undeclared identifier is reported only once for each function it appears in drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c:278:6: error: unused variable 'st_param' [-Werror=unused-variable]