summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-06-24 13:33:35 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-06-27 19:09:42 (GMT)
commita5e5aa6cee4cdb967a1f1c33a31165062783ccea (patch)
treec3e36575ff7495c5a70a567d7d4272acafc466ec /fs
parentf6b4e4d476b890e1ddebbed8ec4924f9c2750a31 (diff)
downloadlinux-fsl-qoriq-a5e5aa6cee4cdb967a1f1c33a31165062783ccea.tar.xz
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 <error27@gmail.com> Acked-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions