✓ CI.checkpatch: success for drm/i915: Fix NULL ptr deref in intel_async_flip_check_uapi()
Patchwork
patchwork at emeril.freedesktop.org
Wed Aug 7 19:53:53 UTC 2024
== Series Details ==
Series: drm/i915: Fix NULL ptr deref in intel_async_flip_check_uapi()
URL : https://patchwork.freedesktop.org/series/137006/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
66551fd1be58212fb46d0bc97f2e5ae43c69b733
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a5c76eedfabbbe1d3069dab8e983d474ad3e886e
Author: Ma Ke <make24 at iscas.ac.cn>
Date: Tue Aug 6 17:22:49 2024 +0800
drm/i915: Fix NULL ptr deref in intel_async_flip_check_uapi()
intel_atomic_get_new_crtc_state can return NULL, unless crtc state wasn't
obtained previously with intel_atomic_get_crtc_state. We should check it
for NULLness here, just as in many other places, where we can't guarantee
that intel_atomic_get_crtc_state was called.
Cc: stable at vger.kernel.org
Fixes: b0b2bed2a130 ("drm/i915: Check async flip capability early on")
Signed-off-by: Ma Ke <make24 at iscas.ac.cn>
+ /mt/dim checkpatch 4f5d551409fb5562ab0d732120e7ac9b698b5864 drm-intel
a5c76eedfabb drm/i915: Fix NULL ptr deref in intel_async_flip_check_uapi()
More information about the Intel-xe
mailing list