Skip to content
Commit 2a03c025 authored by Fabio Estevam's avatar Fabio Estevam Committed by Heiko Stuebner
Browse files

ARM: rockchip: pm: Fix PTR_ERR() argument



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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 9bb91ae9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment