[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Convert fbdev to DRM client
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 28 21:54:49 UTC 2023
== Series Details ==
Series: drm/i915: Convert fbdev to DRM client
URL : https://patchwork.freedesktop.org/series/115714/
State : warning
== Summary ==
Error: dim checkpatch failed
0eb95c1b5ac4 drm/i915: Move fbdev functions
-:119: CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*ifbdev)...) over kzalloc(sizeof(struct intel_fbdev)...)
#119: FILE: drivers/gpu/drm/i915/display/intel_fbdev.c:668:
+ ifbdev = kzalloc(sizeof(struct intel_fbdev), GFP_KERNEL);
-:120: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!ifbdev"
#120: FILE: drivers/gpu/drm/i915/display/intel_fbdev.c:669:
+ if (ifbdev == NULL)
total: 0 errors, 0 warnings, 2 checks, 172 lines checked
91a0ee910d74 drm/i915: Initialize fbdev DRM client with callback functions
cdadc97d2d4a drm/i915: Implement fbdev client callbacks
2862fcef6190 drm/i915: Implement fbdev emulation as in-kernel client
More information about the Intel-gfx
mailing list