diff options
author | Geliang Tang <geliangtang@gmail.com> | 2017-05-06 18:40:17 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-05-08 10:28:39 +0300 |
commit | 261aeba834f384cd9cf85be72078291d30fca4e4 (patch) | |
tree | 1372e92d149b334a65a0c868f49912e5bf2ef5cf /drivers/gpu/drm/i915/i915_utils.h | |
parent | 6f38123ecaac446312a63523b68df84ceb5a06ed (diff) | |
download | linux-261aeba834f384cd9cf85be72078291d30fca4e4.tar.xz |
drm/i915: use memdup_user_nul
Use memdup_user_nul() helper instead of open-coding to simplify the
code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/6baf3aa45d0b5e0fd016b508bac905ebf8443aac.1493779294.git.geliangtang@gmail.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_utils.h')
0 files changed, 0 insertions, 0 deletions