Messages in this thread | | | Subject | Re: [PATCH][next] can: tcan45x: Fix inconsistent IS_ERR and PTR_ERR | From | Marc Kleine-Budde <> | Date | Tue, 10 Dec 2019 17:35:44 +0100 |
| |
On 12/10/19 4:05 PM, Gustavo A. R. Silva wrote: > Fix inconsistent IS_ERR and PTR_ERR in tcan4x5x_parse_config. > > The proper pointer to be passed as argument is tcan4x5x->device_wake_gpio. > > This bug was detected with the help of Coccinelle. > > Fixes: 2de497356955 ("can: tcan45x: Make wake-up GPIO an optional GPIO") > Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Applied to linux-can.
Tnx, Marc
-- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[unhandled content-type:application/pgp-signature] | |