linux/drivers/net/ethernet/xilinx
Sean Anderson 32b06603f8 net: xilinx: axienet: Use NL_SET_ERR_MSG instead of netdev_err
This error message can be triggered by userspace. Use NL_SET_ERR_MSG so
the message is returned to the user and to avoid polluting the kernel
logs. Additionally, change the return value from EFAULT to EBUSY to
better reflect the error (which has nothing to do with addressing).

Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/20240611154116.2643662-1-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-12 14:54:56 -07:00
..
Kconfig
Makefile
ll_temac.h
ll_temac_main.c
ll_temac_mdio.c
xilinx_axienet.h net: axienet: Fix kernel doc warnings 2024-03-29 12:41:22 -07:00
xilinx_axienet_main.c net: xilinx: axienet: Use NL_SET_ERR_MSG instead of netdev_err 2024-06-12 14:54:56 -07:00
xilinx_axienet_mdio.c net: axienet: Fix kernel doc warnings 2024-03-29 12:41:22 -07:00
xilinx_emaclite.c