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 11:44:01 +1000 |
commit | d016da589c1c1cf3821a26abcc03122b772ac044 (patch) | |
tree | d1f5e2c89b172344df23e3926e5556edee15b645 /drivers/fmc | |
parent | 99c09e745d078b630dbb3ea2895eaa597f1cebc4 (diff) | |
download | op-kernel-dev-d016da589c1c1cf3821a26abcc03122b772ac044.zip op-kernel-dev-d016da589c1c1cf3821a26abcc03122b772ac044.tar.gz |
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 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions