aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMarkus Stockhausen <markus.stockhausen@gmx.de>2026-10-05 09:49:07 +0200
committerJakub Kicinski <kuba@kernel.org>2026-10-08 16:32:42 -0700
commit808c15994074145d12a1ee77a49d6151cb28a11a (patch)
tree45b0e8c94160f89e9df1113a7ba7b7ad69eac4e6 /scripts/Makefile.thinlto
parentnet: mdio: realtek-rtl9300: convert "fwnode" left-overs to "of" (diff)
net: mdio: realtek-rtl9300: reject duplicate MDIO bus IDs
The reg property identifies the hardware MDIO bus and is used as an index into the per-bus state. However, duplicate bus IDs are currently not rejected explicitly and only fail later during MDIO bus registration due to the duplicate bus ID. Keep track of successfully registered buses and reject a duplicate reg value before allocating another bus. For this use the already existing but currently unused priv->bus[] property. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20261005074908.1273383-5-markus.stockhausen@gmx.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions