✓ CI.checkpatch: success for drm/i915/display: Fix build error without DRM_FBDEV_EMULATION

Patchwork patchwork at emeril.freedesktop.org
Sat Mar 15 12:14:01 UTC 2025


== Series Details ==

Series: drm/i915/display: Fix build error without DRM_FBDEV_EMULATION
URL   : https://patchwork.freedesktop.org/series/146350/
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
cbb4e4a079d89106c2736adc3c7de6f9dc56da07
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 058b9fa8312d457c82345b5047cdc63bfc699c25
Author: Yue Haibing <yuehaibing at huawei.com>
Date:   Sat Mar 15 20:01:43 2025 +0800

    drm/i915/display: Fix build error without DRM_FBDEV_EMULATION
    
    In file included from <command-line>:
    ./drivers/gpu/drm/i915/display/intel_fbdev.h: In function ‘intel_fbdev_framebuffer’:
    ./drivers/gpu/drm/i915/display/intel_fbdev.h:32:16: error: ‘NULL’ undeclared (first use in this function)
       32 |         return NULL;
          |                ^~~~
    ./drivers/gpu/drm/i915/display/intel_fbdev.h:1:1: note: ‘NULL’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
      +++ |+#include <stddef.h>
        1 | /* SPDX-License-Identifier: MIT */
    ./drivers/gpu/drm/i915/display/intel_fbdev.h:32:16: note: each undeclared identifier is reported only once for each function it appears in
       32 |         return NULL;
          |                ^~~~
    
    Build fails if CONFIG_DRM_FBDEV_EMULATION is n, add missing header file.
    
    Fixes: 9fa154f40eb6 ("drm/{i915,xe}: Run DRM default client setup")
    Signed-off-by: Yue Haibing <yuehaibing at huawei.com>
+ /mt/dim checkpatch deccd667e475e826a1cdd91ab9aec4f897bd30c4 drm-intel
058b9fa8312d drm/i915/display: Fix build error without DRM_FBDEV_EMULATION




More information about the Intel-xe mailing list