[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dsi: add payload receiving code (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu Jun 16 03:32:52 UTC 2022
== Series Details ==
Series: drm/i915/dsi: add payload receiving code (rev2)
URL : https://patchwork.freedesktop.org/series/105096/
State : warning
== Summary ==
Error: dim checkpatch failed
45422b4b5f8a drm/i915/dsi: add payload receiving code
-:27: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#27: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:205:
+static int dsi_read_pkt_payld(struct intel_dsi_host *host,
+ u8 *rx_buf, size_t rx_len)
-:77: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#77: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:255:
+ payld_read = min(rx_len, (size_t)4*payld_dw);
^
-:80: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#80: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:258:
+ for (i = 0; i < payld_read; i++) {
+
-:84: CHECK:SPACING: spaces preferred around that '%' (ctx:VxV)
#84: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:262:
+ *(rx_buf + i) = (payld_data >> (8 * (i%4))) & 0xff;
^
total: 0 errors, 0 warnings, 4 checks, 119 lines checked
More information about the Intel-gfx
mailing list