[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202408221537.gmrL3l3n-lkp@intel.com>
Date: Thu, 22 Aug 2024 15:54:05 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Golle <daniel@...rotopia.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
Christian Marangi <ansuelsmth@...il.com>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Robert Marko <robimarko@...il.com>,
Chad Monroe <chad.monroe@...ran.com>,
John Crispin <john@...ozen.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] net: phy: aquantia: allow forcing order of
MDI pairs
Hi Daniel,
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/Daniel-Golle/net-phy-aquantia-allow-forcing-order-of-MDI-pairs/20240821-210717
base: net-next/main
patch link: https://lore.kernel.org/r/ed46220cc4c52d630fc481c8148fc749242c368d.1724244281.git.daniel%40makrotopia.org
patch subject: [PATCH net-next 2/2] net: phy: aquantia: allow forcing order of MDI pairs
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240822/202408221537.gmrL3l3n-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240822/202408221537.gmrL3l3n-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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408221537.gmrL3l3n-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/phy/aquantia/aquantia_main.c:483:5: warning: no previous prototype for 'aqr107_config_mdi' [-Wmissing-prototypes]
483 | int aqr107_config_mdi(struct phy_device *phydev)
| ^~~~~~~~~~~~~~~~~
vim +/aqr107_config_mdi +483 drivers/net/phy/aquantia/aquantia_main.c
482
> 483 int aqr107_config_mdi(struct phy_device *phydev)
484 {
485 struct device_node *np = phydev->mdio.dev.of_node;
486 bool force_normal, force_reverse;
487
488 force_normal = of_property_read_bool(np, "marvell,force-mdi-order-normal");
489 force_reverse = of_property_read_bool(np, "marvell,force-mdi-order-reverse");
490
491 if (force_normal && force_reverse)
492 return -EINVAL;
493
494 if (force_normal)
495 return phy_modify_mmd(phydev, MDIO_MMD_PMAPMD, PMAPMD_RSVD_VEND_PROV,
496 PMAPMD_RSVD_VEND_PROV_MDI_CONF,
497 PMAPMD_RSVD_VEND_PROV_MDI_FORCE);
498
499 if (force_reverse)
500 return phy_modify_mmd(phydev, MDIO_MMD_PMAPMD, PMAPMD_RSVD_VEND_PROV,
501 PMAPMD_RSVD_VEND_PROV_MDI_CONF,
502 PMAPMD_RSVD_VEND_PROV_MDI_REVERSE |
503 PMAPMD_RSVD_VEND_PROV_MDI_FORCE);
504
505 return 0;
506 }
507
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists