diff options
author | Geliang Tang <geliangtang@gmail.com> | 2017-05-13 05:16:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-17 12:20:54 +0200 |
commit | ca2ef0d5cd0568d4ef60da6ff6bd7f69f317407a (patch) | |
tree | 5eeb4a9314c62cd63d24462431c333075f5e96a7 /lib/hweight.c | |
parent | usb: host: remove unnecessary null check (diff) | |
download | linux-ca2ef0d5cd0568d4ef60da6ff6bd7f69f317407a.tar.xz linux-ca2ef0d5cd0568d4ef60da6ff6bd7f69f317407a.zip |
USB: iowarrior: use memdup_user
Use memdup_user() helper instead of open-coding to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions