[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: constify EDID parsing, with fixes (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 29 09:21:05 UTC 2022
== Series Details ==
Series: drm/edid: constify EDID parsing, with fixes (rev3)
URL : https://patchwork.freedesktop.org/series/101883/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
42edbd32ada4 drm/edid: don't modify EDID while parsing
837379bc0347 drm/edid: fix reduced blanking support check
b22f653dbc5e drm/edid: pass a timing pointer to is_display_descriptor()
223c5965ca6f drm/edid: pass a timing pointer to is_detailed_timing_descriptor()
f12efd84c617 drm/edid: use struct detailed_timing member access in is_rb()
-:39: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#39: FILE: drivers/gpu/drm/drm_edid.c:2419:
+ BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15);
total: 0 errors, 1 warnings, 0 checks, 24 lines checked
69216f7ba63f drm/edid: use struct detailed_timing member access in gtf2 functions
-:56: WARNING:LONG_LINE: line length of 115 exceeds 100 columns
#56: FILE: drivers/gpu/drm/drm_edid.c:2462:
+ BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
-:58: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#58: FILE: drivers/gpu/drm/drm_edid.c:2464:
+ return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.hfreq_start_khz * 2 : 0;
-:69: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#69: FILE: drivers/gpu/drm/drm_edid.c:2474:
+ BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
-:86: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#86: FILE: drivers/gpu/drm/drm_edid.c:2486:
+ BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
-:101: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#101: FILE: drivers/gpu/drm/drm_edid.c:2498:
+ BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
-:114: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#114: FILE: drivers/gpu/drm/drm_edid.c:2510:
+ BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
total: 0 errors, 6 warnings, 0 checks, 98 lines checked
f53280382ddd drm/edid: constify struct detailed_timing in lower level parsing
91ea7f66dc86 drm/edid: constify struct detailed_timing in parsing callbacks
349d51d419f7 drm/edid: constify struct edid passed to detailed blocks
6f5a68ce1560 drm/edid: constify struct edid passed around in callbacks and closure
f3ec750e7bc0 drm/edid: add more general struct edid constness in the interfaces
f6e089502afb drm/edid: split drm_add_edid_modes() to two
More information about the Intel-gfx
mailing list