summaryrefslogtreecommitdiffstats
path: root/drivers/cxl/core
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2023-10-26 07:10:49 +0200
committerJakub Kicinski <kuba@kernel.org>2023-10-27 14:43:53 -0700
commit818cdb0f4b3834b342a32040ba0ee12fefb548e0 (patch)
tree8331354d38571729f8df56c380aea5ee9a0d0d95 /drivers/cxl/core
parent78c21fca0b391792cb105e4a505bcba88ea737e1 (diff)
downloadlinux-stable-818cdb0f4b3834b342a32040ba0ee12fefb548e0.tar.gz
linux-stable-818cdb0f4b3834b342a32040ba0ee12fefb548e0.tar.bz2
linux-stable-818cdb0f4b3834b342a32040ba0ee12fefb548e0.zip
net: dsa: microchip: Add error handling for ksz_switch_macaddr_get()
Enhance the ksz_switch_macaddr_get() function to handle errors that may occur during the call to ksz_write8(). Specifically, this update checks the return value of ksz_write8(), which may fail if regmap ranges validation is not passed and returns the error code. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://lore.kernel.org/r/20231026051051.2316937-4-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/cxl/core')
0 files changed, 0 insertions, 0 deletions