[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for treewide: Replace zero-length arrays with flexible-array members

Patchwork patchwork at emeril.freedesktop.org
Thu Feb 17 05:44:48 UTC 2022


== Series Details ==

Series: treewide: Replace zero-length arrays with flexible-array members
URL   : https://patchwork.freedesktop.org/series/100251/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
ff9fe74a5f35 treewide: Replace zero-length arrays with flexible-array members
-:17: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#17: 
(next-20220214$ spatch --jobs $(getconf _NPROCESSORS_ONLN) --sp-file script.cocci --include-headers --dir . > output.patch)

-:299: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u8' over 'uint8_t'
#299: FILE: arch/x86/include/asm/pci.h:138:
+	uint8_t romdata[];

-:487: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#487: FILE: drivers/net/ethernet/i825xx/sun3_82586.h:253:
+  unsigned char  mc_list[][6];  ^I/* pointer to 6 bytes entries */$

-:487: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#487: FILE: drivers/net/ethernet/i825xx/sun3_82586.h:253:
+  unsigned char  mc_list[][6];  ^I/* pointer to 6 bytes entries */$

-:676: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u8' over 'uint8_t'
#676: FILE: drivers/scsi/qla2xxx/qla_bsg.h:160:
+	uint8_t payload[]; /* payload for cmd */

-:746: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u8' over 'uint8_t'
#746: FILE: drivers/scsi/qla4xxx/ql4_fw.h:1031:
+	uint8_t in_out_RISC_stack_dump[];	/*280 - ??? */

-:965: CHECK:CAMELCASE: Avoid CamelCase: <Content>
#965: FILE: fs/ksmbd/ntlmssp.h:98:
+	__u8 Content[];

-:996: CHECK:CAMELCASE: Avoid CamelCase: <FileName>
#996: FILE: fs/ksmbd/smb2pdu.h:762:
+	char   FileName[];     /* New name to be assigned */

-:1023: CHECK:CAMELCASE: Avoid CamelCase: <StreamName>
#1023: FILE: fs/ksmbd/smb2pdu.h:821:
+	char   StreamName[];

-:1062: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u8' over 'uint8_t'
#1062: FILE: fs/xfs/scrub/attr.h:27:
+	uint8_t			buf[];

-:1254: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 's32' over 'int32_t'
#1254: FILE: include/sound/sof/channel_map.h:42:
+	int32_t ch_coeffs[];

total: 0 errors, 3 warnings, 8 checks, 915 lines checked




More information about the Intel-gfx mailing list