diff options
| author | Wei Yongjun <[email protected]> | 2013-10-30 03:15:51 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-10-30 17:17:33 +0000 |
| commit | ed5d6ca0038f274aada1244358ad89b7941bdcbf (patch) | |
| tree | 069f5e82bba2277bec6be78cf92e53a38ce69b39 /lib/lockref.c | |
| parent | Staging: zram: Fix access of NULL pointer (diff) | |
| download | kernel-ed5d6ca0038f274aada1244358ad89b7941bdcbf.tar.gz kernel-ed5d6ca0038f274aada1244358ad89b7941bdcbf.zip | |
staging: drm/imx: fix return value check in ipu_add_subdevice_pdata()
In case of error, the function platform_device_register_data() returns
ERR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
