diff options
author | 2024-12-09 14:07:42 +0100 | |
---|---|---|
committer | 2024-12-10 18:48:26 -0800 | |
commit | 6f31135894ec96481e2bda93a1da70712f5e57c1 (patch) | |
tree | 6d70281eb2bf2ceef4ec66ce57e8051bcf2c9400 /lib/packing_test.c | |
parent | net: usb: lan78xx: Add error handling to lan78xx_setup_irq_domain (diff) | |
download | wireguard-linux-6f31135894ec96481e2bda93a1da70712f5e57c1.tar.xz wireguard-linux-6f31135894ec96481e2bda93a1da70712f5e57c1.zip |
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 'lib/packing_test.c')
0 files changed, 0 insertions, 0 deletions