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:
b5e86db
)
niu: Fix error handling
author
Dan Carpenter
<error27@gmail.com>
Wed, 8 Apr 2009 22:44:04 +0000
(15:44 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 8 Apr 2009 22:44:04 +0000
(15:44 -0700)
platform_device_register_simple() returns ERR_PTR(), not NULL, if an error
occurs.
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>
drivers/net/niu.c
patch
|
blob
|
history
diff --cc
drivers/net/niu.c
Simple merge