diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-08-13 23:43:19 -0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2015-08-24 12:39:14 +0200 |
commit | 2a03c025fdea25a491c359b31d8a8c8d452b06d0 (patch) | |
tree | fc34d4e13bcd331e5a8801e60ef5678c951960d0 /net | |
parent | 9bb91ae970dd004393a3d7d09bdcc30dfe2f8693 (diff) |
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: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions