diff options
| author | 2026-01-14 09:02:46 +0100 | |
|---|---|---|
| committer | 2026-01-15 20:04:25 -0800 | |
| commit | a74c7a58ca2ca1cbb93f4c01421cf24b8642b962 (patch) | |
| tree | 3c2f739c4e652d7b1db1d93bb74f2596cf06b248 /tools/docs/ssh:/git@git.zx2c4.com | |
| parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
net: freescale: ucc_geth: Return early when TBI PHY can't be found
In ucc_geth's .mac_config(), we configure the TBI Serdes block represented by a
struct phy_device that we get from firmware.
While porting to phylink, a check was missed to make sure we don't try
to access the TBI PHY if we can't get it. Let's add it and return early
in case of error
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202601130843.rFGNXA5a-lkp@intel.com/
Fixes: 53036aa8d031 ("net: freescale: ucc_geth: phylink conversion")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260114080247.366252-1-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/docs/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
