diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-21 22:14:19 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-26 13:50:32 +0300 |
commit | 1a1c436bad340cea1cff815dd2cbb2c4f6af8d43 (patch) | |
tree | c3defd66688f6f69cdc6cad75d55fd0cd2e7d085 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ba1cb39fce4464151517a37ce0ac0a1a3f580d6 (diff) | |
download | linux-1a1c436bad340cea1cff815dd2cbb2c4f6af8d43.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions