From: Devendra Naga Date: Sat, 14 Jul 2012 07:41:59 +0000 (+0545) Subject: staging/wlan-ng: use kzalloc rather using kmalloc at create_wlan X-Git-Tag: v3.6-rc1~100^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a46eafe1c4a2bf45928beb280b378f5af904ed9;p=pandora-kernel.git staging/wlan-ng: use kzalloc rather using kmalloc at create_wlan instead we would have used kzalloc, so our memory which is allocated will be set to 0. codepath: the code path here is prism2sta_probe_usb, calling when ever usb-dev id and usb-vendor id e.t.c matches with what ever present in the MODULE_DEVICE_TABLE, and in prism2sta_probe_usb , we call create_wlan, and its called nowhere else... Signed-off-by: Devendra Naga Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed