On 11/14/20 12:17 PM, Zhang Qilong wrote:
> In the error handling, we should goto the probe_exit_candev
> to free ndev to prevent memory leak.
>
> Fixes: dabf54dd1c63 ("can: ti_hecc: Convert TI HECC driver to DT only driver")
> Signed-off-by: Zhang Qilong
Added to linux-can/testing.
Tnx,
Marc
In the error handling, we should goto the probe_exit_candev
to free ndev to prevent memory leak.
Fixes: dabf54dd1c63 ("can: ti_hecc: Convert TI HECC driver to DT only driver")
Signed-off-by: Zhang Qilong
---
drivers/net/can/ti_hecc.c | 13 -
1 file changed, 8 insertions(+), 5 deletio