Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2434937imm; Wed, 16 May 2018 12:50:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZryL3PgcPkJtLTWL+P+Vo2GuGMM82HlGRozhhKSwCp1IRt1StMU6yF30BYmPUXlGz6c3EkR X-Received: by 2002:a17:902:301:: with SMTP id 1-v6mr2303191pld.328.1526500204411; Wed, 16 May 2018 12:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526500204; cv=none; d=google.com; s=arc-20160816; b=O1ofyjeHTBt4flKGA6X0kVpnoDM0Gg7oOomEnp2PdFsiHVDUxjLwQhOoTPweuNQVOl RLQ1H1Ap1qTtIuU+sTTVi9HbihPwTyfikERdAJS7kNrjx5bEP/4XPdj4+X8Y7WIBWM1J Eoerk1jFowLOf0tZK8fJJB1Bu3SHoUD4dPThk//GgLGA3oiVZlcvrqEG+vU+C9SIeBmz jlwZ/o17FZy12E2zsA1P8FTbmmBbBcpJ1uoOpOaZdS0aAvKxTQaj97ydAzFg/K+LcVzn 7Mnj5LH1SyMs4QAF76HvHWiBoJMrnAwsULcDusSP4z9XIfz860ivroKGtkRgptU7mRbw N43w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=3mnMaThTIDUxTWxgo4GGy9c3ygxXEUejJJIUN495Pj0=; b=BSev0CjSXiQLR4ESbGA1J3D2IRuUbxw1492ggBlYCSLWEscQSsBP/WsyrNvIUbvttz QMrfsZck/S7G95XJ+5b1r93Qk/l8exiVThQmFqzZi/ouTjq4aa9McUwUnl4PYkdDRJem qhZpdA8W5syWd0UMrANO5BO5MB8qeE1Ay7CpCJpSyORGm3HcFlEWi0pvLh57U8NCrECB Sx4Rg7Hn8ThG6gT7j60kkObOsBf44ftNP2eCxjuQUEzICLG5ahxWWP+gN5PPpOPJUINq 6xUIr3yYm2HrOAW4koTPGj19STVSa0VY6GpXIa04CvZ36PYTe4v5p7ouhjk6DI368eK7 CyCg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w17-v6si3224353plq.115.2018.05.16.12.49.50; Wed, 16 May 2018 12:50:04 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbeEPTsw (ORCPT + 99 others); Wed, 16 May 2018 15:48:52 -0400 Received: from mga06.intel.com ([134.134.136.31]:24047 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbeEPTsn (ORCPT ); Wed, 16 May 2018 15:48:43 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2018 12:48:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,390,1520924400"; d="scan'208";a="59229227" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 16 May 2018 12:48:40 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fJ2Pf-0002Hu-AF; Thu, 17 May 2018 03:48:39 +0800 Date: Thu, 17 May 2018 03:47:42 +0800 From: kbuild test robot To: Salil Mehta Cc: kbuild-all@01.org, davem@davemloft.net, salil.mehta@huawei.com, yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH net-next 09/10] net: hns3: Add support of .sriov_configure in HNS3 driver Message-ID: <201805170336.ssQ87kX3%fengguang.wu@intel.com> References: <20180515182014.42196-10-salil.mehta@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180515182014.42196-10-salil.mehta@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peng, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Salil-Mehta/Misc-Bug-Fixes-and-clean-ups-for-HNS3-Driver/20180516-211239 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:266:16: sparse: expression using sizeof(void) drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:266:16: sparse: expression using sizeof(void) >> drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:1582:5: sparse: symbol 'hns3_pci_sriov_configure' was not declared. Should it be static? drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:2513:21: sparse: expression using sizeof(void) drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:2706:22: sparse: expression using sizeof(void) drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:2706:22: sparse: expression using sizeof(void) Please review and possibly fold the followup patch. --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation