aboutsummaryrefslogtreecommitdiff
path: root/lib/kref.c
diff options
context:
space:
mode:
authorFlorin Malita <fmalita@gmail.com>2006-10-10 16:46:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2006-10-16 20:09:48 -0400
commit431aca5a18f15f61cc51c466073928c4f9565fe4 (patch)
tree1ee40a5467e93060f37c271c7bd6d92096c6a045 /lib/kref.c
parent8da81e52b743edac0bfbb7d0c1286f919b2f209b (diff)
[PATCH] airo.c: check returned values
create_proc_entry() can fail and return NULL in setup_proc_entry(), the result must be checked before dereferencing. (Coverity ID 1443) init_wifidev() & setup_proc_entry() can also fail in _init_airo_card(). This adds the checks & cleanup code and removes some whitespace. Signed-off-by: Florin Malita <fmalita@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions