diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-12-11 11:35:11 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-18 02:44:01 +0100 |
commit | d016da589c1c1cf3821a26abcc03122b772ac044 (patch) | |
tree | d1f5e2c89b172344df23e3926e5556edee15b645 /include | |
parent | drm: remove dev->vma_count (diff) | |
download | linux-d016da589c1c1cf3821a26abcc03122b772ac044.tar.xz linux-d016da589c1c1cf3821a26abcc03122b772ac044.zip |
drm: use memdup_user() as a cleanup
drivers/gpu/drm/r128/r128_state.c:1014:10-17: WARNING opportunity for memdup_user
/c/kernel-tests/src/cocci/drivers/gpu/drm/r128/r128_state.c:1029:9-16: WARNING opportunity for memdup_user
/c/kernel-tests/src/cocci/drivers/gpu/drm/r128/r128_state.c:904:10-17: WARNING opportunity for memdup_user
/c/kernel-tests/src/cocci/drivers/gpu/drm/r128/r128_state.c:914:9-16: WARNING opportunity for memdup_user
Use memdup_user rather than duplicating its implementation
This is a little bit restricted to reduce false positives
Generated by: coccinelle/api/memdup_user.cocci
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions