[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: A couple of if/else ladder refactors (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed Sep 14 00:20:53 UTC 2022
== Series Details ==
Series: drm/i915: A couple of if/else ladder refactors (rev2)
URL : https://patchwork.freedesktop.org/series/108315/
State : warning
== Summary ==
Error: dim checkpatch failed
93b4fe3050fe 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
e41e92add5d0 drm/i915/gt: Extract per-platform function for frequency read
2ae37cd734be drm/i915: Invert if/else ladder for stolen init
More information about the Intel-gfx
mailing list