[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Eliminate devid sprinkle

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 22 08:16:34 UTC 2018


== Series Details ==

Series: drm/i915: Eliminate devid sprinkle
URL   : https://patchwork.freedesktop.org/series/38749/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
2cce38de5993 drm/i915: Eliminate devid sprinkle
-:171: WARNING: line over 80 characters
#171: FILE: drivers/gpu/drm/i915/intel_device_info.c:114:
+	drm_printf(p, "pciid=0x%04x rev=0x%02x platform=%s (subplatform=%x) gen=%i\n",

-:230: WARNING: suspect code indent for conditional statements (8, 17)
#230: FILE: drivers/gpu/drm/i915/intel_device_info.c:509:
+	} else if (IS_COFFEELAKE(i915)) {
+		 if ((devid & 0x00F0) == 0x00A0)

-:231: WARNING: Statements should start on a tabstop
#231: FILE: drivers/gpu/drm/i915/intel_device_info.c:510:
+		 if ((devid & 0x00F0) == 0x00A0)

total: 0 errors, 3 warnings, 0 checks, 237 lines checked



More information about the Intel-gfx mailing list