staging: wilc1000: use memdup_user
This patch replaces the kmalloc followed by copy_from_user by the wrapper routine memdup_user. Signed-off-by: NHari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录