diff options
author | 2023-10-26 07:10:49 +0200 | |
---|---|---|
committer | 2023-10-27 14:43:53 -0700 | |
commit | 818cdb0f4b3834b342a32040ba0ee12fefb548e0 (patch) | |
tree | 8331354d38571729f8df56c380aea5ee9a0d0d95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: microchip: Refactor comment for ksz_switch_macaddr_get() function (diff) | |
download | linux-rng-818cdb0f4b3834b342a32040ba0ee12fefb548e0.tar.xz linux-rng-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions