diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-25 17:30:24 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-10-28 21:11:23 -0500 |
commit | dde8e3ee6b37fa33690604302bebfe7b576c3802 (patch) | |
tree | fdede613ba05e0360f3c5b42c92db7a878fb7f7f /arch/powerpc/configs | |
parent | fd1348d098b5d0f633c869b50a74cfcbeb9834f5 (diff) | |
download | blackbird-op-linux-dde8e3ee6b37fa33690604302bebfe7b576c3802.tar.gz blackbird-op-linux-dde8e3ee6b37fa33690604302bebfe7b576c3802.zip |
powerpc/mv643xx_eth: fix return check in mv64x60_eth_register_shared_pdev()
In case of error, the function platform_device_register_simple() returns
RR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/configs')
0 files changed, 0 insertions, 0 deletions