Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp170460lqo; Tue, 7 May 2024 16:30:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWHvptL468uGiWMt8+RIuC4yV6aFDxL8+mjdsfLZE7YTsHRTIwVtcpMSzrGKS7ms2dgEWZya2iz5Bo17f75utH/uutUYNNPNIvuJyoKig== X-Google-Smtp-Source: AGHT+IHp9JaTJ/HmjVYb+CJmX7n3SrLKkXxqgKXwH57T/snSpSk6TBQhcCtosP0PPVGzM9j3zwKX X-Received: by 2002:a92:ca0a:0:b0:36b:16:9b5e with SMTP id e9e14a558f8ab-36caed57d0bmr10795915ab.29.1715124611699; Tue, 07 May 2024 16:30:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715124611; cv=pass; d=google.com; s=arc-20160816; b=re2gVYdVYmfOgOnyYwR7u2LNnnCk3AZ5UMEE6Q5EXfkc36vVq28V3IR7/uP9LCwRRX GGWQqwlvHEkVZ9P3yhH42kbeBX9hcQUOF3rX1KX51iaTvd04M7lEH9z3kuP0J5+H+H/c tXYPO+cu7lkN6VqKNzn9FiQYwMJebJJsTXc2sPqr5a33HGCAbPeJgUcYSKwyRLsrtrPm yqyG318NVSv87WbCPdULjliymWcliBUrdejnO5XwHeqWUxUQRd1jVngUTlpJZFe9cq70 Ya9v2HqlC5wqgsV2qD+X7T7aWo0ZjKa3f2pqNIfZL6o2MigTZCM+ddB2W8GlL69Cr7BT xFrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xdua/dAVbZxEFSqZjFztvqel4NL/MLoER9zHA0Gq+PA=; fh=yHZk8AhSAA8ZaPY/aNx0T8NUwaiC5s7JtOabmVR8GLY=; b=QgwKbo8VhaT5vBdikue/BDdnohyya8Hyn7kpouBBHewduAQxRG4r9JxITQ6V/LYTtd J18RQmZQ6ZCjH2BWYWRwuT1gcld3a5ml2VhoCOJ6jZNPVlg+Kf8IRHKfzZaCzWFfg3YH 2vcbTafIjrlnz5qoIPzx1g4/ki2eUkLo+9ZS47ms7nL4sSzR+i/TnSxVHK/0lcEHhu34 n5xoZd2PxXu+QnJSg6pd4RAHDrHGGd1WLV/SI4f/phpmWLtFEcJVhQNsWtlO50JZwOVN VbcznXtnkaRz9g6+8OnXdinfWckKhBENorPDM4bYFjAIsfe1xhAU8ZcI0q0nLFW/8KJ7 QLrQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X0KEDMGR; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-172375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o11-20020a65614b000000b005dbf03af371si8842211pgv.84.2024.05.07.16.30.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:30:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X0KEDMGR; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-172375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4DE32281A1D for ; Tue, 7 May 2024 23:30:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA97A1442F0; Tue, 7 May 2024 23:09:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="X0KEDMGR" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FECF142E79; Tue, 7 May 2024 23:09:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123344; cv=none; b=jRS5ZOecUdWhEecLYMgHcCMa6Xk+pPokAYTx6Vd7MBtEfBC75Aqo+oNMYlr1RJGWR6p0KPl9Vfxt49MqtK/toyKj6Yb6sJYehB59D0+X1SQLkzJDonNPee+Xxz2NapfDr4poKGwR2HovPrlMX+7p0NqzZPBEENB20QCgMAYHfLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123344; c=relaxed/simple; bh=sbBCo2A1xLZ0vOXmtjRmskZzILCS1fwj9Xtelg+/+co=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=O0k5Epvj9PlxM623iB1nfjIgB4KEz9LfhkFxWwRw9jnhYjZ9kYFRwZ+EmgbeBZ+uZeeQNI5tyPTyu+DKh8SHGi217DfOqyOD+Igv/oe0dlA23Jmx2bIfrsTsuMIl3rY7D1089R6SFUwwcJQQAKP312Jv8cZKi/IHQ+vRD6QFd90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=X0KEDMGR; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715123341; x=1746659341; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=sbBCo2A1xLZ0vOXmtjRmskZzILCS1fwj9Xtelg+/+co=; b=X0KEDMGRgyzKg8DoCh4Rp18rOYNySsYSKplat1Ez+uU9KoSh0BM4Zfxu 3Oh1y2jSjyzXzE2pqzTJmub/22yXbQI+ZqlJNWlM0vVnvud/erblqancR wBPbvOoIUT865fni+SWMk///aSulPo/W4+bOW6k7FIedo2Mi7r5tAZREz mXBFY4vV3GB+IGnYX6OShQN79RqGWMiKjkMfRDbiChZfKyhtzVopEu3Il D0LIM3S08TFr7ECbqf9R45dgtd2NdlrNzqCw7RX06+Am8vZr2hRLzvc4Z e93+DNWJW94lxSXKZ3YkrEfz6svwJuWI2lzONQ/Ouj86d4FDlTSYYx1PO A==; X-CSE-ConnectionGUID: Jq1kagcoT7+Dwi0wMNgi1Q== X-CSE-MsgGUID: HUMzRYzXQXORvj9PeU1D+g== X-IronPort-AV: E=McAfee;i="6600,9927,11066"; a="11113109" X-IronPort-AV: E=Sophos;i="6.08,143,1712646000"; d="scan'208";a="11113109" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2024 16:09:00 -0700 X-CSE-ConnectionGUID: dGaliaqjQ72/tYjH1V1Nfg== X-CSE-MsgGUID: pJeQw4WkSaSxWq4X0sagaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,143,1712646000"; d="scan'208";a="66110058" Received: from lkp-server01.sh.intel.com (HELO f8b243fe6e68) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 07 May 2024 16:08:55 -0700 Received: from kbuild by f8b243fe6e68 with local (Exim 4.96) (envelope-from ) id 1s4TvY-0002iq-0A; Tue, 07 May 2024 23:08:52 +0000 Date: Wed, 8 May 2024 07:08:43 +0800 From: kernel test robot To: Maxime Chevallier , davem@davemloft.net Cc: oe-kbuild-all@lists.linux.dev, Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Herve Codina , Florian Fainelli , Heiner Kallweit , Vladimir Oltean , =?iso-8859-1?Q?K=F6ry?= Maincent , Jesse Brandeburg , Marek =?iso-8859-1?Q?Beh=FAn?= , Piergiorgio Beruto , Oleksij Rempel , =?iso-8859-1?Q?Nicol=F2?= Veronese , Simon Horman , mwojtas@chromium.org, Nathan Chancellor , Antoine Tenart Subject: Re: [PATCH net-next 2/2] net: phy: phy_link_topology: Lazy-initialize the link topology Message-ID: <202405080732.pSwJSarc-lkp@intel.com> References: <20240507102822.2023826-3-maxime.chevallier@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240507102822.2023826-3-maxime.chevallier@bootlin.com> Hi Maxime, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Maxime-Chevallier/net-phy-phy_link_topology-Pass-netdevice-to-phy_link_topo-helpers/20240507-183130 base: net-next/main patch link: https://lore.kernel.org/r/20240507102822.2023826-3-maxime.chevallier%40bootlin.com patch subject: [PATCH net-next 2/2] net: phy: phy_link_topology: Lazy-initialize the link topology config: parisc-defconfig (https://download.01.org/0day-ci/archive/20240508/202405080732.pSwJSarc-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240508/202405080732.pSwJSarc-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405080732.pSwJSarc-lkp@intel.com/ All warnings (new ones prefixed by >>): >> net/core/dev.c:10276:13: warning: 'netdev_free_phy_link_topology' defined but not used [-Wunused-function] 10276 | static void netdev_free_phy_link_topology(struct net_device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/netdev_free_phy_link_topology +10276 net/core/dev.c 10275 10276 static void netdev_free_phy_link_topology(struct net_device *dev) 10277 { 10278 struct phy_link_topology *topo = dev->link_topo; 10279 10280 if (!topo) 10281 return; 10282 10283 xa_destroy(&topo->phys); 10284 kfree(topo); 10285 dev->link_topo = NULL; 10286 } 10287 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki