✗ Fi.CI.CHECKPATCH: warning for drm/i915: Convert fbdev to DRM client (rev4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915: Convert fbdev to DRM client (rev4)
URL   : https://patchwork.freedesktop.org/series/115714/
State : warning

== Summary ==

Error: dim checkpatch failed
190804c78b43 drm/i915: Unregister in-kernel clients
7943fb6e18ec drm/client: Do not acquire module reference
1f9d70ab2f79 drm/client: Export drm_client_dev_unregister()
d09fe71ce453 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:683:
+	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:684:
+	if (ifbdev == NULL)

total: 0 errors, 0 warnings, 2 checks, 172 lines checked
94e9f0f53041 drm/i915: Initialize fbdev DRM client with callback functions
9df0528a504d drm/i915: Implement fbdev client callbacks
28fd624fff1f drm/i915: Implement fbdev emulation as in-kernel client





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux