[dpdk-test-report] |WARNING| pw93563 [PATCH 14/58] net/bnxt: add shared session support

checkpatch at dpdk.org checkpatch at dpdk.org
Sun May 30 11:03:28 CEST 2021


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/93563

_coding style issues_


WARNING:REPEATED_WORD: Possible repeated word: 'the'
#147: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:11978:
+	 * If set to 0xFF... (All Fs), then the the configuration is

WARNING:REPEATED_WORD: Possible repeated word: 'block'
#156: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:12678:
+	 * block block. When this bit is ‘0’, this flag has no effect.

WARNING:REPEATED_WORD: Possible repeated word: 'block'
#165: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:12692:
+	 * block block. When this bit is ‘0’, this flag has no effect.

WARNING:TYPO_SPELLING: 'chooose' may be misspelled - perhaps 'choose'?
#174: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:18048:
+	 * The user must chooose a value that is not conflicting with

WARNING:TYPO_SPELLING: 'chooose' may be misspelled - perhaps 'choose'?
#183: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:18307:
+	 * The user must chooose a value that is not conflicting with

WARNING:REPEATED_WORD: Possible repeated word: 'the'
#192: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:29822:
+	 * conflict with the the CoS to VNIC steering rules in this mode.

WARNING:REPEATED_WORD: Possible repeated word: 'the'
#201: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:41319:
+	 * When set to 1, indicates the the FW supports the Centralized

WARNING:REPEATED_WORD: Possible repeated word: 'the'
#209: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:41326:
+	 * When set to 1, indicates the the FW supports the Detached

WARNING:REPEATED_WORD: Possible repeated word: 'the'
#351: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:43730:
+	 * When set to 1, indicates the the FW supports the Centralized

WARNING:REPEATED_WORD: Possible repeated word: 'the'
#359: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:43737:
+	 * When set to 1, indicates the the FW supports the Detached

WARNING:LONG_LINE_COMMENT: line length of 134 exceeds 100 columns
#451: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47183:
+	/* The Directory Entry Type (valid values are defined in the bnxnvm_directory_type enum defined in the file bnxnvm_defs.h). */

WARNING:LONG_LINE_COMMENT: line length of 118 exceeds 100 columns
#463: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47195:
+	 * Length of data to write, in bytes. May be less than or equal to the allocated size for the directory entry.

WARNING:LONG_LINE_COMMENT: line length of 122 exceeds 100 columns
#464: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47196:
+	 * The data length stored in the directory entry will be updated to reflect this value once the write is complete.

WARNING:LONG_LINE_COMMENT: line length of 164 exceeds 100 columns
#474: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47209:
+	 * The requested length of the allocated NVM for the item, in bytes. This value may be greater than or equal to the specified data length (dir_data_length).

WARNING:LONG_LINE_COMMENT: line length of 123 exceeds 100 columns
#482: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47211:
+	 * The response will contain the actual allocated item length, which may be greater than the requested item length.

WARNING:LONG_LINE_COMMENT: line length of 153 exceeds 100 columns
#483: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47212:
+	 * The purpose for allocating more than the required number of bytes for an item's data is to pre-allocate extra storage (padding) to accommodate

WARNING:LONG_LINE_COMMENT: line length of 137 exceeds 100 columns
#484: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47213:
+	 * the potential future growth of an item (e.g. upgraded firmware with a size increase, log growth, expanded configuration data).

WARNING:LONG_LINE_COMMENT: line length of 160 exceeds 100 columns
#497: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47230:
+	 * Length of the allocated NVM for the item, in bytes. The value may be greater than or equal to the specified data length or the requested item length.

WARNING:LONG_LINE_COMMENT: line length of 115 exceeds 100 columns
#498: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47231:
+	 * The actual item length used when creating a new directory entry will be a multiple of an NVM block size.

WARNING:LONG_LINE_COMMENT: line length of 133 exceeds 100 columns
#510: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47575:
+	/* Available size that can be used, in bytes.  Available size is the NVRAM size take away the used size and reserved size. */

WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#522: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47717:
+	/* The Directory Entry Extension flags (see BNX_DIR_EXT_* for extension flag definitions). */

WARNING:LONG_LINE_COMMENT: line length of 104 exceeds 100 columns
#540: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:47886:
+	 * If set to 1, then unspecified images, images not in the package file, will be safely deleted.

WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#553: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:48272:
+	/* When this bit is 1, flush internal cache after this write operation (see hwrm_nvm_flush command.) */

WARNING:LONG_LINE_COMMENT: line length of 107 exceeds 100 columns
#565: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:48574:
+	/* AP processor complex (in multi-host environment). Use host_idx to control which core is reset */

total: 0 errors, 24 warnings, 0 checks, 2994 lines checked


More information about the test-report mailing list