diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-04-16 14:18:50 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-08-06 08:33:46 +0200 |
commit | 35a7f41cc6bb7013e344502b03c5583d04228bd3 (patch) | |
tree | f3cbfb81316f225909ebb3962de7ea1373b1aa58 /Documentation/trace | |
parent | windfarm: remove three exported but unused functions (diff) | |
download | linux-35a7f41cc6bb7013e344502b03c5583d04228bd3.tar.xz linux-35a7f41cc6bb7013e344502b03c5583d04228bd3.zip |
powerpc/4xx: Fix return value check in hsta_msi_probe()
In case of error, the functions platform_get_resource() and kmalloc()
returns NULL not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions