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)
commitad43f8bfb7b9a6a8b800cdad24c4a62180a5eb3d
tree8c3f03efdfe2e1abc0418ef485c831ba1dd6cdd4
parent04a6445f6f5e439ef775bd18cf3f485f84bbfb1b
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