[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/edid: constify EDID parsing, with fixes (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 29 01:28:08 UTC 2022
== Series Details ==
Series: drm/edid: constify EDID parsing, with fixes (rev2)
URL : https://patchwork.freedesktop.org/series/101883/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
90c13404c652 drm/edid: don't modify EDID while parsing
aa07371d6de1 drm/edid: fix reduced blanking support check
80aa0ac82762 drm/edid: pass a timing pointer to is_display_descriptor()
565a5375ecbe drm/edid: pass a timing pointer to is_detailed_timing_descriptor()
d596762603da 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
45990d6ccbe2 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
ee147272c83e drm/edid: constify struct detailed_timing in lower level parsing
d64fac29e842 drm/edid: constify struct detailed_timing in parsing callbacks
358ccb5139dc drm/edid: constify struct edid passed to detailed blocks
e7f44ba3a375 drm/edid: constify struct edid passed around in callbacks and closure
0019dba7a7a7 drm/edid: add more general struct edid constness in the interfaces
239429f61305 drm/edid: split drm_add_edid_modes() to two
More information about the Intel-gfx
mailing list