From: Florin Malita Date: Tue, 10 Oct 2006 20:46:30 +0000 (-0400) Subject: [PATCH] airo.c: check returned values X-Git-Tag: v2.6.19-rc3~13^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=431aca5a18f15f61cc51c466073928c4f9565fe4;p=pandora-kernel.git [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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed