diff options
| author | Joonas Lahtinen <[email protected]> | 2019-02-07 08:54:54 +0000 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2019-02-07 12:10:36 +0000 |
| commit | ebfb6977801da521d8d5d752d373a187e2a2b9b3 (patch) | |
| tree | 7e8b004060eb0c8dff3fcf7b5223b5a2d55d8aa0 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set (diff) | |
| download | kernel-ebfb6977801da521d8d5d752d373a187e2a2b9b3.tar.gz kernel-ebfb6977801da521d8d5d752d373a187e2a2b9b3.zip | |
drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set
Add err goto label and use it when VMA can't be established or changes
underneath.
v2:
- Dropping Fixes: as it's indeed impossible to race an object to the
error address. (Chris)
v3:
- Use IS_ERR_VALUE (Chris)
Reported-by: Adam Zabrocki <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Adam Zabrocki <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]> #v2
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
