[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260125143326.35d1a2d8@kernel.org>
Date: Sun, 25 Jan 2026 14:33:26 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Christian Marangi <ansuelsmth@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [net-next PATCH v2 2/3] net: phy: as21xxx: add support for DBG
command
On Fri, 23 Jan 2026 13:00:30 +0100 Christian Marangi wrote:
> Rework the msg send logic to support sending DBG command.
>
> These DBG command use a special way to send and receive data and use
> data in u8 size and are used to tweak advanced (and later introduced)
> feature of the PHY.
Unfortunately we can't have unused static functions, even transiently:
drivers/net/phy/as21xxx.c:631:12: warning: unused function 'aeon_ipc_poll' [-Wunused-function]
631 | static int aeon_ipc_poll(struct phy_device *phydev)
| ^~~~~~~~~~~~~
drivers/net/phy/as21xxx.c:653:12: warning: unused function 'aeon_ipc_dbg_cmd' [-Wunused-function]
653 | static int aeon_ipc_dbg_cmd(struct phy_device *phydev, u16 dbg_sec,
| ^~~~~~~~~~~~~~~~
drivers/net/phy/as21xxx.c:666:12: warning: unused function 'aeon_ipc_dbg_read_buf' [-Wunused-function]
666 | static int aeon_ipc_dbg_read_buf(struct phy_device *phydev, u16 *buf)
| ^~~~~~~~~~~~~~~~~~~~~
drivers/net/phy/as21xxx.c:689:12: warning: unused function 'aeon_ipc_dbg_write_buf' [-Wunused-function]
689 | static int aeon_ipc_dbg_write_buf(struct phy_device *phydev, u8 *data,
| ^~~~~~~~~~~~~~~~~~~~~~
--
pw-bot: cr
Powered by blists - more mailing lists