]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: add NULL check on return value of get_zeroed_page
authorKiran Divekar <kirandivekar@gmail.com>
Fri, 28 Aug 2009 12:17:59 +0000 (17:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:41:01 +0000 (14:41 -0400)
commit7d0a791708ff650bedb65e18fae7d0e891ae0181
tree8c3f03efdfe2e1abc0418ef485c831ba1dd6cdd4
parentd0414789a07e41db05110dc7a73ea357e7b4eb06
libertas: add NULL check on return value of get_zeroed_page

Most of the places in debugfs.c are missing a NULL check on the return value of
get_zeroed_page API call. Added required NULL check at appropriate places.

Signed-off-by: Kiran Divekar <kirandivekar@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/debugfs.c