]> err.no Git - linux-2.6/commit
rndis_wlan: use kzalloc to allocate private data
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Thu, 12 Jun 2008 17:19:01 +0000 (20:19 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 14 Jun 2008 16:18:10 +0000 (12:18 -0400)
commitbb8649d42989eddf9c7d128114c1adcffe9eef54
treeda44afa8e8fc5333eab4546da48408aeb3c3e436
parent8d5e0d58b39eed9b0f1064f4a7f2b215869b7e71
rndis_wlan: use kzalloc to allocate private data

rndis_wlan used kmalloc to allocate private data structure and leaving data
uninitialized, but later assumed to be set zero.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c