[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Attach the pci match data to the device upon creation

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 5 14:25:52 UTC 2018


== Series Details ==

Series: series starting with [1/2] drm/i915: Attach the pci match data to the device upon creation
URL   : https://patchwork.freedesktop.org/series/49187/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
418a878462ee drm/i915: Attach the pci match data to the device upon creation
-:84: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#84: FILE: drivers/gpu/drm/i915/i915_drv.c:1353:
+	BUG_ON(device_info->gen > sizeof(device_info->gen_mask) * BITS_PER_BYTE);

total: 0 errors, 1 warnings, 0 checks, 107 lines checked
4c81281ccea1 drm/i915: Move final cleanup of drm_i915_private to i915_driver_destroy



More information about the Intel-gfx mailing list