diff options
author | 2021-10-21 08:20:02 -0400 | |
---|---|---|
committer | 2021-10-22 11:06:36 +0200 | |
commit | 5c0480deda08ae804c495409a3d11c5345f2a964 (patch) | |
tree | fbeb1fdcd7a4ccff40c8f588aafd02a18d600538 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: vt6655: Use named constants when checking preamble type (diff) | |
download | wireguard-linux-5c0480deda08ae804c495409a3d11c5345f2a964.tar.xz wireguard-linux-5c0480deda08ae804c495409a3d11c5345f2a964.zip |
staging: r8188eu: Use memdup_user instead of kmalloc/copy_from_user
Fix following coccicheck warning:
./drivers/staging/r8188eu/os_dep/ioctl_linux.c:1986:8-15: WARNING
opportunity for memdup_user.
Use memdup_user rather than duplicating its implementation, which
makes code simple and easy to understand.
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20211021122015.6974-1-wanjiabing@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions