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

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

 



== 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


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



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

  Powered by Linux