switch wireless debugfs ->write() instances to memdup_user_nul()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Dec 2015 05:10:20 +0000 (00:10 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jan 2016 15:27:44 +0000 (10:27 -0500)
commitf0fc86966253ad244f53841e3d8db2cf9f862019
tree4441195827835889b6b2862dd6aba7fac4cc4454
parent8365a71946bb1075f5e0e6357fe0f0b92404d966
switch wireless debugfs ->write() instances to memdup_user_nul()

again, it only parses the contents of the copied buffer, so
get_zeroed_page() might as well had been kmalloc(), which makes
it open-coded memdup_user_nul()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/mwifiex/debugfs.c