[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping

Patchwork patchwork at emeril.freedesktop.org
Wed Nov 25 01:08:58 UTC 2020


== Series Details ==

Series: drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping
URL   : https://patchwork.freedesktop.org/series/84238/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3f30d254dfce drm/i915/tgl: Fix REVID macros for TGL to fetch correct stepping
-:60: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#60: FILE: drivers/gpu/drm/i915/i915_drv.h:1592:
+			return tgl_uy_revids + revid;
+		} else {

-:68: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#68: FILE: drivers/gpu/drm/i915/i915_drv.h:1600:
+		return tgl_revids + revid;
+	} else	{

total: 0 errors, 2 warnings, 0 checks, 57 lines checked




More information about the Intel-gfx mailing list