[PATCH] ARM: rockchip: pm: Fix PTR_ERR() argument
Heiko Stuebner
heiko at sntech.de
Mon Aug 24 03:40:50 PDT 2015
Am Donnerstag, 13. August 2015, 23:43:19 schrieb Fabio Estevam:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> PTR_ERR should access the value just tested by IS_ERR.
>
> The semantic patch that makes this change is available
> in scripts/coccinelle/tests/odd_ptr_err.cocci.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
applied to my soc branch.
Thanks for the catch
Heiko
More information about the linux-arm-kernel
mailing list