diff options
author | Marc Kleine-Budde <[email protected]> | 2020-11-21 20:14:19 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-11-26 11:50:32 +0100 |
commit | 1a1c436bad340cea1cff815dd2cbb2c4f6af8d43 (patch) | |
tree | c3defd66688f6f69cdc6cad75d55fd0cd2e7d085 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4ba1cb39fce4464151517a37ce0ac0a1a3f580d6 (diff) |
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/[email protected]
Reported-by: Niels Petter <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions