Searched hist:"13 a84cf37a4cf1155a41684236c2314eb40cd65c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/ |
H A D | kvaser_pciefd.c | diff 13a84cf37a4cf1155a41684236c2314eb40cd65c Sat Nov 28 07:39:22 CST 2020 Zhang Qilong <zhangqilong3@huawei.com> can: kvaser_pciefd: kvaser_pciefd_open(): fix error handling
If kvaser_pciefd_bus_on() failed, we should call close_candev() to avoid reference leak.
Fixes: 26ad340e582d3 ("can: kvaser_pciefd: Add driver for Kvaser PCIEcan devices") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Link: https://lore.kernel.org/r/20201128133922.3276973-3-zhangqilong3@huawei.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|