diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2024-12-09 14:07:42 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-10 18:48:26 -0800 |
commit | 6f31135894ec96481e2bda93a1da70712f5e57c1 (patch) | |
tree | 6d70281eb2bf2ceef4ec66ce57e8051bcf2c9400 /rust/helpers/build_bug.c | |
parent | d354d008255ffdde6f3d4549dd6a06a14ee76619 (diff) |
net: usb: lan78xx: Add error handling to lan78xx_init_mac_address
Convert `lan78xx_init_mac_address` to return error codes and handle
failures in register read and write operations. Update `lan78xx_reset`
to check for errors during MAC address initialization and propagate them
appropriately.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241209130751.703182-3-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions