diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-08-14 04:43:19 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2015-08-24 12:39:14 +0200 |
commit | 2a03c025fdea25a491c359b31d8a8c8d452b06d0 (patch) | |
tree | fc34d4e13bcd331e5a8801e60ef5678c951960d0 /fs/ufs/truncate.c | |
parent | ARM: rockchip: enable PMU_GPIOINT_WAKEUP_EN when entering shallow suspend (diff) | |
download | linux-2a03c025fdea25a491c359b31d8a8c8d452b06d0.tar.xz linux-2a03c025fdea25a491c359b31d8a8c8d452b06d0.zip |
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 'fs/ufs/truncate.c')
0 files changed, 0 insertions, 0 deletions