git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1547e
)
misc: genwqe: fix return value check in genwqe_device_create()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 7 Jan 2014 08:56:35 +0000
(16:56 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 23:22:49 +0000
(15:22 -0800)
In case of error, the function device_create_with_groups()
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 <yongjun_wei@trendmicro.com.cn>
Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found