diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-02 11:34:34 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-06 09:24:06 +0200 |
commit | 4376ea42db8bfcac2bc3a30bba93917244a8c2d4 (patch) | |
tree | 6b647fa2cd33fef1d3286f516e3659a1bc790ffb /mm/vmalloc.c | |
parent | can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe (diff) | |
download | linux-4376ea42db8bfcac2bc3a30bba93917244a8c2d4.tar.xz linux-4376ea42db8bfcac2bc3a30bba93917244a8c2d4.zip |
can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path
This patch adds the missing can_rx_offload_del(), that must be called
if mcp251xfd_register() fails.
Fixes: 55e5b97f003e ("can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI CAN")
Link: https://lore.kernel.org/r/20210504091838.1109047-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions