commit | 431aca5a18f15f61cc51c466073928c4f9565fe4 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@gmail.com> | Tue Oct 10 16:46:30 2006 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Oct 16 20:09:48 2006 -0400 |
tree | 1ee40a5467e93060f37c271c7bd6d92096c6a045 | |
parent | 8da81e52b743edac0bfbb7d0c1286f919b2f209b [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>