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:
3384901
)
phy: error handling for platform_device_register_simple()
author
Dan Carpenter
<error27@gmail.com>
Sat, 11 Apr 2009 08:52:29 +0000
(
01:52
-0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 11 Apr 2009 08:52:29 +0000
(
01:52
-0700)
platform_device_register_simple() returns ERR_PTR() and not NULL.
Found by smatch (http://repo.or.cz/w/smatch.git). Compile tested.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found