aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/mutex.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-04-08 15:44:04 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-08 15:44:04 -0700
commit58f3e0a864c46dadbeadf682e6bbdcab14ba19d3 (patch)
tree7630276b8177b034e1cb79f58be73dbb3199527e /kernel/mutex.c
parentmv643xx_eth: don't reset the rx coal timer on interface up (diff)
downloadlinux-dev-58f3e0a864c46dadbeadf682e6bbdcab14ba19d3.tar.xz
linux-dev-58f3e0a864c46dadbeadf682e6bbdcab14ba19d3.zip
niu: Fix error handling
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>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions