From: Dan Carpenter Date: Fri, 24 Jun 2011 13:33:35 +0000 (+0300) Subject: mwifiex: restore handling of NULL parameters X-Git-Tag: v3.1-rc1~316^2~232^2^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5e5aa6cee4cdb967a1f1c33a31165062783ccea;p=pandora-kernel.git mwifiex: restore handling of NULL parameters Prior to a5ffddb70c5cab "mwifiex: remove casts of void pointers" the code assumed that the data_buf parameter could be a NULL pointer. The patch preserved some NULL checks but not consistently, so there was a potential for NULL dereferences and it changed the behavior. This patch restores the original behavior. Signed-off-by: Dan Carpenter Acked-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed