Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christian Marangi <ansuelsmth@gmail.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Daniel Golle <daniel@makrotopia.org>,
	Qingfang Deng <dqfext@gmail.com>,
	SkyLake Huang <SkyLake.Huang@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Ahmed Naseef <naseefkm@gmail.com>,
	Joris Vaisvila <joey@tinyisr.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	netdev@vger.kernel.org
Subject: Re: [PATCH net-next v3 5/6] net: phy: mediatek: add calibration logic for AN7581
Date: Thu, 15 Oct 2026 13:06:09 +0800	[thread overview]
Message-ID: <202610151259.WmaEeHMH-lkp@intel.com> (raw)
In-Reply-To: <20261014071739.216345-6-ansuelsmth@gmail.com>

Hi Christian,

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/Christian-Marangi/net-phy-mediatek-export-__mtk_tr_write/20261014-091732
base:   net-next/main
patch link:    https://lore.kernel.org/r/20261014071739.216345-6-ansuelsmth%40gmail.com
patch subject: [PATCH net-next v3 5/6] net: phy: mediatek: add calibration logic for AN7581
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261015/202610151259.WmaEeHMH-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6719b9e31d6a93099612c474eec76d9f41d0275a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610151259.WmaEeHMH-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610151259.WmaEeHMH-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/net/phy/mediatek/airoha-ge-soc.c:1522:3: warning: variable 'shared' is uninitialized when used here [-Wuninitialized]
    1522 |                 shared->phydev_p0 = phydev;
         |                 ^~~~~~
   drivers/net/phy/mediatek/airoha-ge-soc.c:1501:37: note: initialize the variable 'shared' to silence this warning
    1501 |         struct airoha_socphy_shared *shared;
         |                                            ^
         |                                             = NULL
   1 warning generated.


vim +/shared +1522 drivers/net/phy/mediatek/airoha-ge-soc.c

  1498	
  1499	static int an7581_phy_probe(struct phy_device *phydev)
  1500	{
  1501		struct airoha_socphy_shared *shared;
  1502		struct mtk_socphy_priv *priv;
  1503		struct pinctrl *pinctrl;
  1504		int ret;
  1505	
  1506		/* Toggle pinctrl to enable PHY LED */
  1507		pinctrl = devm_pinctrl_get_select(&phydev->mdio.dev, "gbe-led");
  1508		if (IS_ERR(pinctrl))
  1509			dev_err(&phydev->mdio.bus->dev,
  1510				"Failed to setup PHY LED pinctrl\n");
  1511	
  1512		ret = devm_phy_package_join(&phydev->mdio.dev, phydev, 0,
  1513					    sizeof(struct airoha_socphy_shared));
  1514		if (ret)
  1515			return ret;
  1516	
  1517		priv = devm_kzalloc(&phydev->mdio.dev, sizeof(*priv), GFP_KERNEL);
  1518		if (!priv)
  1519			return -ENOMEM;
  1520	
  1521		if (phydev->mdio.addr == AIROHA_DEFAULT_PORT0_ADDR)
> 1522			shared->phydev_p0 = phydev;
  1523	
  1524		phydev->priv = priv;
  1525	
  1526		return 0;
  1527	}
  1528	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


  reply	other threads:[~2026-10-15  5:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14  7:17 [PATCH net-next v3 0/6] net: phy: mediatek: calibration for AN7581/3 Christian Marangi
2026-10-14  7:17 ` [PATCH net-next v3 1/6] net: phy: mediatek: export __mtk_tr_write Christian Marangi
2026-10-14  7:17 ` [PATCH net-next v3 2/6] net: phy: mediatek: move MTK GE SoC registers define to dedicated header Christian Marangi
2026-10-14  7:17 ` [PATCH net-next v3 3/6] net: phy: mediatek: generalize cal_cycle function for GE SoC Christian Marangi
2026-10-14  7:17 ` [PATCH net-next v3 4/6] net: phy: mediatek: split Airoha code to dedicated source Christian Marangi
2026-10-14  7:17 ` [PATCH net-next v3 5/6] net: phy: mediatek: add calibration logic for AN7581 Christian Marangi
2026-10-15  5:06   ` kernel test robot [this message]
2026-10-14  7:17 ` [PATCH net-next v3 6/6] net: phy: mediatek: add calibration logic for AN7583 Christian Marangi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610151259.WmaEeHMH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=SkyLake.Huang@mediatek.com \
    --cc=andrew@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=ansuelsmth@gmail.com \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=dqfext@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=hkallweit1@gmail.com \
    --cc=joey@tinyisr.com \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=llvm@lists.linux.dev \
    --cc=matthias.bgg@gmail.com \
    --cc=naseefkm@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox