[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Invert if/else ladder for frequency read

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 7 21:08:45 UTC 2022


== Series Details ==

Series: drm/i915: Invert if/else ladder for frequency read
URL   : https://patchwork.freedesktop.org/series/108268/
State : warning

== Summary ==

Error: dim checkpatch failed
39d3d3166a72 drm/i915: Invert if/else ladder for frequency read
-:120: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#120: FILE: drivers/gpu/drm/i915/gt/intel_gt_clock_utils.c:139:
+		return f12_5_mhz;
+	} else {

total: 0 errors, 1 warnings, 0 checks, 114 lines checked




More information about the Intel-gfx mailing list