commit | 310c6a762e224ae38efac304c936b82ad89a4ff1 | [log] [tgz] |
---|---|---|
author | Santosh Nayak <santoshprasadnayak@gmail.com> | Fri Mar 23 21:14:02 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 10 09:47:06 2012 -0700 |
tree | cd06272621a874889cc65070f1e71a589ccc4fb4 | |
parent | 277ac73720628f032c34c1e8b157a6ae2077766f [diff] |
staging: wlags49_h2: Replace kmalloc+memset by kzalloc and add error handling. Replace kmalloc+memset pair by kzalloc() in 'wl_wds_device_alloc()'. Add error handling to avoid null derefernce. Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>