WSL2-Linux-Kernel/drivers/net/can/spi/mcp251xfd
Marc Kleine-Budde 1a1c436bad can: mcp251xfd: mcp251xfd_probe(): bail out if no IRQ was given
This patch add a check to the mcp251xfd_probe() function to bail out and give
the user a proper error message if no IRQ is specified. Otherwise the driver
will probe just fine but ifup will fail with a meaningless "RTNETLINK answers:
Invalid argument" error message.

Link: https://lore.kernel.org/r/20201123113522.3820052-1-mkl@pengutronix.de
Reported-by: Niels Petter <petter@ka-long.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-11-26 11:50:32 +01:00
..
Kconfig
Makefile
mcp251xfd-core.c can: mcp251xfd: mcp251xfd_probe(): bail out if no IRQ was given 2020-11-26 11:50:32 +01:00
mcp251xfd-crc16.c can: mcp251xfd: rename all remaining occurrence to mcp251xfd 2020-09-30 21:55:28 +02:00
mcp251xfd-regmap.c can: mcp251xfd: mcp251xfd_regmap_nocrc_read(): fix semicolon.cocci warnings 2020-11-03 22:30:33 +01:00
mcp251xfd.h can: mcp251xfd: rename all remaining occurrence to mcp251xfd 2020-09-30 21:55:28 +02:00