✗ Fi.CI.CHECKPATCH: warning for drm/i915/dsi: add payload receiving code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915/dsi: add payload receiving code
URL   : https://patchwork.freedesktop.org/series/105096/
State : warning

== Summary ==

Error: dim checkpatch failed
c041108e8df4 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)

-:75: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#75: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:253:
+	payld_read = min(rx_len, (size_t)4*payld_dw);
 	                                  ^

-:78: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#78: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:256:
+	for (i = 0; i < payld_read; i++) {
+

-:82: CHECK:SPACING: spaces preferred around that '%' (ctx:VxV)
#82: FILE: drivers/gpu/drm/i915/display/icl_dsi.c:260:
+		*(rx_buf + i) = (payld_data >> (8 * (i%4))) & 0xff;
 		                                      ^

total: 0 errors, 0 warnings, 4 checks, 111 lines checked





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux