Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5406898rwd; Mon, 5 Jun 2023 03:14:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ683rdzNevLCKAOe4tfjTWthpLRqMqFHyTluTMligo0Tqvn1yTRoNY38o0jKoYKfbH7kpel X-Received: by 2002:a05:6870:707:b0:1a2:c29a:29ad with SMTP id ea7-20020a056870070700b001a2c29a29admr6837933oab.0.1685960075256; Mon, 05 Jun 2023 03:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685960075; cv=none; d=google.com; s=arc-20160816; b=ABmq5UM+471wiQTsRgSv+ow0Vh2AKTASmAsArhyJFGm9oQB/ZTYnTQRsuCBL2jpRsb ZwuXB/GSNJ5UwOQveCQOtocGGY5OAHWL9fPR2N6ghm+Maa28x6XUp3PKhfyMcRJBRl4x NOf2O//oFgAX/AwHNYqv1+2qYgO1NhKd4YJMkAt97A/+ICaJFjGx5SYQjOvvFZZHs9gh WtRS/T3zxuzFMmjp0SGx8D2Eekpi3RPH5D4pobKqJgkgEVO3Wbz+VOVBZVGn45hHHL+b yOx7s10pgbfBHE0iSIXpl1IOCjYEqOCGC+bZVrBZsoHytzfIBXTDL7iH4h0tIhd8+DfJ kd7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VQ8M0Lq8JGOJgf5zbk3HWBhG/iEVGJDaiJs+z03Tj2c=; b=NrDa/dDr/SGMGQqnWUiS5/53pwhGyBmRb55Wfr9WQSvsiIyrvcE17j+w311h+KwXXS IPn4NaeQhelbV3cPMlkCDSF7/WTaADlJhz0mZCCj+UpDX6rHzq0O9/qvJ3R2H9Lco2bt F7KMiWTGw2gWwN1XMyqB1uW0+ogJhIALrymeX+f4A9Ucxn5L02cWk0z137CBT7bK9iid udZRbHsqZZOWf5mXAg077yuaVsCBj6Jp4rhuK3sBirBuvKik4jJAmkIQhW1/qFz5/hcl 8p2e4OlR3ukq89N65xQ+dJzhoRiFLwBbMzptWVyvr3CdEFhwRc19Jj662mP86eZQO1Rd iRtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IkMQFrhY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v191-20020a6389c8000000b0053ef14a4fe8si5225952pgd.446.2023.06.05.03.14.20; Mon, 05 Jun 2023 03:14:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IkMQFrhY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231494AbjFEJrF (ORCPT + 99 others); Mon, 5 Jun 2023 05:47:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231397AbjFEJrE (ORCPT ); Mon, 5 Jun 2023 05:47:04 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A169BE9; Mon, 5 Jun 2023 02:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685958422; x=1717494422; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=v/+LgTrwo+Lelaz5gHvZDSoOIGxhoEQ87vO5F8p1ayo=; b=IkMQFrhYiUcaNnVZmAAmFRjUmcrkyUbm0bWkpOxMxLe18s5Se/PnWFEM FJA4flUq0tkKdX0XtFLPjwnI+4PJdGWD54Ywk0xc/SnT04S+psWBN5UaU WNTRO6hSrT1iuxVqPzF1RLP2mQWVxJHKFwHAQKybO5mkpxFNvtzGz0hF9 PpinZnWF/ODhsSmDvOeg20Y+e1gWPAHlkyNH1/QCz20BKWmunQyUFEXfq L+BAflbx8LS8owHwVciV8V4+VIVnQxuDe7ltwJz6Rkv7PTf9MxaIhXGzq y3bE85uMdZaz+Aa36olwNfcCTrcw7JVv7fnKiKLbXz2ysr3UqsSS3XEqJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10731"; a="358775287" X-IronPort-AV: E=Sophos;i="6.00,217,1681196400"; d="scan'208";a="358775287" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 02:47:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10731"; a="882842499" X-IronPort-AV: E=Sophos;i="6.00,217,1681196400"; d="scan'208";a="882842499" Received: from lkp-server01.sh.intel.com (HELO 15ab08e44a81) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 05 Jun 2023 02:46:57 -0700 Received: from kbuild by 15ab08e44a81 with local (Exim 4.96) (envelope-from ) id 1q66ng-00044l-3A; Mon, 05 Jun 2023 09:46:56 +0000 Date: Mon, 5 Jun 2023 17:46:41 +0800 From: kernel test robot To: Shradha Gupta , linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Shradha Gupta , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Michael Kelley , Steen Hegelund , Simon Horman Subject: Re: [PATCH v5] hv_netvsc: Allocate rx indirection table size dynamically Message-ID: <202306051725.FOGcInnl-lkp@intel.com> References: <1685949196-16175-1-git-send-email-shradhagupta@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1685949196-16175-1-git-send-email-shradhagupta@linux.microsoft.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shradha, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on horms-ipvs/master v6.4-rc5 next-20230605] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Shradha-Gupta/hv_netvsc-Allocate-rx-indirection-table-size-dynamically/20230605-151438 base: linus/master patch link: https://lore.kernel.org/r/1685949196-16175-1-git-send-email-shradhagupta%40linux.microsoft.com patch subject: [PATCH v5] hv_netvsc: Allocate rx indirection table size dynamically config: i386-randconfig-r002-20230605 (https://download.01.org/0day-ci/archive/20230605/202306051725.FOGcInnl-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/cd4dda15951edad50a4ffd51e084863ef2f50bd3 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Shradha-Gupta/hv_netvsc-Allocate-rx-indirection-table-size-dynamically/20230605-151438 git checkout cd4dda15951edad50a4ffd51e084863ef2f50bd3 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/hyperv/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306051725.FOGcInnl-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/net/hyperv/rndis_filter.c:1612:47: error: use of undeclared identifier 'net' struct net_device_context *ndc = netdev_priv(net); ^ 1 error generated. vim +/net +1612 drivers/net/hyperv/rndis_filter.c 1607 1608 void rndis_filter_device_remove(struct hv_device *dev, 1609 struct netvsc_device *net_dev) 1610 { 1611 struct rndis_device *rndis_dev = net_dev->extension; > 1612 struct net_device_context *ndc = netdev_priv(net); 1613 struct net_device *net = hv_get_drvdata(dev); 1614 1615 /* Halt and release the rndis device */ 1616 rndis_filter_halt_device(net_dev, rndis_dev); 1617 1618 netvsc_device_remove(dev); 1619 1620 ndc->rx_table_sz = 0; 1621 kfree(ndc->rx_table); 1622 ndc->rx_table = NULL; 1623 } 1624 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki