[dpdk-test-report] |WARNING| pw30316 [PATCH 3/3] net/bnxt: update HWRM API to 1.8.2

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 12 22:05:31 CEST 2017


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#2194: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1921:
+#define HWRM_GET_EVENT_ID(x) \
+	((x) == 0x30 ? "VF_FLR": \
+	((x) == 0x20 ? "PF_DRVR_UNLOAD": \
+	((x) == 0x10 ? "FUNC_DRVR_UNLOAD": \
+	((x) == 0xff ? "HWRM_ERROR": \
+	((x) == 0x32 ? "PF_VF_COMM_STATUS_CHANGE": \
+	((x) == 0x33 ? "VF_CFG_CHANGE": \
+	((x) == 0x11 ? "FUNC_DRVR_LOAD": \
+	((x) == 0x31 ? "VF_MAC_ADDR_CHANGE": \
+	((x) == 0x34 ? "LLFC_PFC_CHANGE": \
+	((x) == 0x4 ? "PORT_CONN_NOT_ALLOWED": \
+	((x) == 0x5 ? "LINK_SPEED_CFG_NOT_ALLOWED": \
+	((x) == 0x6 ? "LINK_SPEED_CFG_CHANGE": \
+	((x) == 0x7 ? "PORT_PHY_CFG_CHANGE": \
+	((x) == 0x0 ? "LINK_STATUS_CHANGE": \
+	((x) == 0x1 ? "LINK_MTU_CHANGE": \
+	((x) == 0x2 ? "LINK_SPEED_CHANGE": \
+	((x) == 0x3 ? "DCB_CONFIG_CHANGE": \
+	((x) == 0x12 ? "FUNC_FLR_PROC_CMPLT": \
+	((x) == 0x21 ? "PF_DRVR_LOAD": \
+	"Unknown event_id")))))))))))))))))))

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2195: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1922:
+	((x) == 0x30 ? "VF_FLR": \
 	                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2196: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1923:
+	((x) == 0x20 ? "PF_DRVR_UNLOAD": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2197: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1924:
+	((x) == 0x10 ? "FUNC_DRVR_UNLOAD": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2198: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1925:
+	((x) == 0xff ? "HWRM_ERROR": \
 	                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2199: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1926:
+	((x) == 0x32 ? "PF_VF_COMM_STATUS_CHANGE": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2200: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1927:
+	((x) == 0x33 ? "VF_CFG_CHANGE": \
 	                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2201: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1928:
+	((x) == 0x11 ? "FUNC_DRVR_LOAD": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2202: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1929:
+	((x) == 0x31 ? "VF_MAC_ADDR_CHANGE": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2203: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1930:
+	((x) == 0x34 ? "LLFC_PFC_CHANGE": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2204: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1931:
+	((x) == 0x4 ? "PORT_CONN_NOT_ALLOWED": \
 	                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2205: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1932:
+	((x) == 0x5 ? "LINK_SPEED_CFG_NOT_ALLOWED": \
 	                                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2206: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1933:
+	((x) == 0x6 ? "LINK_SPEED_CFG_CHANGE": \
 	                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2207: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1934:
+	((x) == 0x7 ? "PORT_PHY_CFG_CHANGE": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2208: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1935:
+	((x) == 0x0 ? "LINK_STATUS_CHANGE": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2209: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1936:
+	((x) == 0x1 ? "LINK_MTU_CHANGE": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2210: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1937:
+	((x) == 0x2 ? "LINK_SPEED_CHANGE": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2211: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1938:
+	((x) == 0x3 ? "DCB_CONFIG_CHANGE": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2212: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1939:
+	((x) == 0x12 ? "FUNC_FLR_PROC_CMPLT": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#2213: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:1940:
+	((x) == 0x21 ? "PF_DRVR_LOAD": \
 	                             ^

WARNING:LONG_LINE: line over 90 characters
#2717: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2395:
+	HWRM_ASYNC_EVENT_CMPL_PORT_CONN_NOT_ALLOWED_EVENT_DATA1_ENFORCEMENT_POLICY_DISABLETX \

WARNING:LONG_LINE: line over 90 characters
#2720: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2398:
+	#define HWRM_ASYNC_EVENT_CMPL_PORT_CONN_NOT_ALLOWED_EVENT_DATA1_ENFORCEMENT_POLICY_WARNINGMSG \

WARNING:LONG_LINE: line over 90 characters
#2724: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2402:
+	HWRM_ASYNC_EVENT_CMPL_PORT_CONN_NOT_ALLOWED_EVENT_DATA1_ENFORCEMENT_POLICY_PWRDOWN \

WARNING:LONG_LINE_COMMENT: line over 90 characters
#2731: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2409:
+/* HWRM Asynchronous Event Completion Record for link speed config not allowed (16 bytes) */

WARNING:LONG_LINE: line over 90 characters
#2753: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2431:
+	HWRM_ASYNC_EVENT_CMPL_LINK_SPEED_CFG_NOT_ALLOWED_EVENT_ID_LINK_SPEED_CFG_NOT_ALLOWED \

WARNING:LONG_LINE_COMMENT: line over 90 characters
#2784: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2462:
+/* HWRM Asynchronous Event Completion Record for link speed configuration change (16 bytes) */

WARNING:LONG_LINE: line over 90 characters
#2839: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2517:
+	HWRM_ASYNC_EVENT_CMPL_LINK_SPEED_CFG_CHANGE_EVENT_DATA1_SUPPORTED_LINK_SPEEDS_CHANGE \

WARNING:LONG_LINE_COMMENT: line over 90 characters
#2851: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2529:
+/* HWRM Asynchronous Event Completion Record for port PHY configuration change (16 bytes) */

WARNING:LONG_LINE_COMMENT: line over 90 characters
#3021: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2699:
+/* HWRM Asynchronous Event Completion Record to indicate completion of FLR related processing (16 bytes) */

WARNING:LONG_LINE_COMMENT: line over 90 characters
#3261: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:2939:
+/* HWRM Asynchronous Event Completion Record for PF-VF communication status change (16 bytes) */

WARNING:TYPO_SPELLING: 'usefull' may be misspelled - perhaps 'useful'?
#4399: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:4077:
+	 * is set. It is not usefull to use this bit with any form of TX

WARNING:TYPO_SPELLING: 'correspoding' may be misspelled - perhaps 'corresponding'?
#10888: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:10566:
+	 * the highest priority. # If the correspoding CoS mapping is

WARNING:TYPO_SPELLING: 'correspoding' may be misspelled - perhaps 'corresponding'?
#10925: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:10603:
+	 * is being the highest priority. # If the correspoding CoS

WARNING:TYPO_SPELLING: 'correspoding' may be misspelled - perhaps 'corresponding'?
#10937: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:10615:
+	 * the highest priority. # If the correspoding CoS mapping is

WARNING:TYPO_SPELLING: 'accomodate' may be misspelled - perhaps 'accommodate'?
#31254: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:26891:
+	 * accomodate the potential future growth of an item (e.g.

WARNING:TYPO_SPELLING: 'UDPATE' may be misspelled - perhaps 'UPDATE'?
#31780: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:27381:
+ * # The HWRM finds the directory entry with "UDPATE" extension flag based on

WARNING:TYPO_SPELLING: 'reqeust' may be misspelled - perhaps 'request'?
#32726: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28308:
+	/* A reqeust was made to run the NVM test. */

WARNING:TYPO_SPELLING: 'retreive' may be misspelled - perhaps 'retrieve'?
#32906: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28445:
+/* hwrm_selftest_retreive_serdes_data */

WARNING:TYPO_SPELLING: 'retreive' may be misspelled - perhaps 'retrieve'?
#32910: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28449:
+ * can use multiple calls to this command to retreive the entire stored buffer

WARNING:TYPO_SPELLING: 'retreive' may be misspelled - perhaps 'retrieve'?
#32914: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28453:
+struct hwrm_selftest_retreive_serdes_data_input {

WARNING:TYPO_SPELLING: 'RETREIVE' may be misspelled - perhaps 'RETRIEVE'?
#32964: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28501:
+	HWRM_SELFTEST_RETREIVE_SERDES_DATA_INPUT_FLAGS_UNUSED_TEST_MASK \

WARNING:TYPO_SPELLING: 'RETREIVE' may be misspelled - perhaps 'RETRIEVE'?
#32966: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28503:
+	#define HWRM_SELFTEST_RETREIVE_SERDES_DATA_INPUT_FLAGS_UNUSED_TEST_SFT 0

WARNING:TYPO_SPELLING: 'RETREIVE' may be misspelled - perhaps 'RETRIEVE'?
#32969: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28506:
+	HWRM_SELFTEST_RETREIVE_SERDES_DATA_INPUT_FLAGS_PCIE_SERDES_TEST \

WARNING:TYPO_SPELLING: 'RETREIVE' may be misspelled - perhaps 'RETRIEVE'?
#32973: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28510:
+	HWRM_SELFTEST_RETREIVE_SERDES_DATA_INPUT_FLAGS_ETHERNET_SERDES_TEST \

WARNING:TYPO_SPELLING: 'retreive' may be misspelled - perhaps 'retrieve'?
#32984: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28516:
+struct hwrm_selftest_retreive_serdes_data_output {

WARNING:TYPO_SPELLING: 'retreive' may be misspelled - perhaps 'retrieve'?
#33009: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28540:
+	 * required to retreive all the stored data.

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#33081: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28643:
+#define HWRM_GET_HWRM_INPUT_TYPE(x) \
+	((x) == 0x99 ? "HWRM_CFA_NTUPLE_FILTER_ALLOC": \
+	((x) == 0x90 ? "HWRM_CFA_L2_FILTER_ALLOC": \
+	((x) == 0x91 ? "HWRM_CFA_L2_FILTER_FREE": \
+	((x) == 0x92 ? "HWRM_CFA_L2_FILTER_CFG": \
+	((x) == 0x93 ? "HWRM_CFA_L2_SET_RX_MASK": \
+	((x) == 0x94 ? "HWRM_CFA_VLAN_ANTISPOOF_CFG": \
+	((x) == 0x95 ? "HWRM_CFA_TUNNEL_FILTER_ALLOC": \
+	((x) == 0x96 ? "HWRM_CFA_TUNNEL_FILTER_FREE": \
+	((x) == 0x10 ? "RESERVED1": \
+	((x) == 0x11 ? "HWRM_FUNC_RESET": \
+	((x) == 0x12 ? "HWRM_FUNC_GETFID": \
+	((x) == 0x13 ? "HWRM_FUNC_VF_ALLOC": \
+	((x) == 0x14 ? "HWRM_FUNC_VF_FREE": \
+	((x) == 0x15 ? "HWRM_FUNC_QCAPS": \
+	((x) == 0x16 ? "HWRM_FUNC_QCFG": \
+	((x) == 0x17 ? "HWRM_FUNC_CFG": \
+	((x) == 0x18 ? "HWRM_FUNC_QSTATS": \
+	((x) == 0x19 ? "HWRM_FUNC_CLR_STATS": \
+	((x) == 0xe0 ? "HWRM_TEMP_MONITOR_QUERY": \
+	((x) == 0x1a ? "HWRM_FUNC_DRV_UNRGTR": \
+	((x) == 0x1b ? "HWRM_FUNC_VF_RESC_FREE": \
+	((x) == 0x1c ? "HWRM_FUNC_VF_VNIC_IDS_QUERY": \
+	((x) == 0x1d ? "HWRM_FUNC_DRV_RGTR": \
+	((x) == 0x1e ? "HWRM_FUNC_DRV_QVER": \
+	((x) == 0x1f ? "HWRM_FUNC_BUF_RGTR": \
+	((x) == 0x9a ? "HWRM_CFA_NTUPLE_FILTER_FREE": \
+	((x) == 0x9b ? "HWRM_CFA_NTUPLE_FILTER_CFG": \
+	((x) == 0xd3 ? "HWRM_FWD_ASYNC_EVENT_CMPL": \
+	((x) == 0xd2 ? "HWRM_FWD_OUTPUT": \
+	((x) == 0xd1 ? "HWRM_REJECT_FWD_OUTPUT": \
+	((x) == 0xd0 ? "HWRM_EXEC_FWD_RESP": \
+	((x) == 0xfffa ? "HWRM_NVM_GET_DIR_ENTRIES": \
+	((x) == 0xc0 ? "HWRM_FW_RESET": \
+	((x) == 0xc1 ? "HWRM_FW_QSTATUS": \
+	((x) == 0x70 ? "HWRM_VNIC_RSS_COS_LB_CTX_ALLOC": \
+	((x) == 0x71 ? "HWRM_VNIC_RSS_COS_LB_CTX_FREE": \
+	((x) == 0xb1 ? "HWRM_STAT_CTX_FREE": \
+	((x) == 0xb0 ? "HWRM_STAT_CTX_ALLOC": \
+	((x) == 0xb3 ? "HWRM_STAT_CTX_CLR_STATS": \
+	((x) == 0xb2 ? "HWRM_STAT_CTX_QUERY": \
+	((x) == 0xfff6 ? "HWRM_NVM_GET_DEV_INFO": \
+	((x) == 0x61 ? "HWRM_RING_GRP_FREE": \
+	((x) == 0x60 ? "HWRM_RING_GRP_ALLOC": \
+	((x) == 0x24 ? "HWRM_PORT_LPBK_QSTATS": \
+	((x) == 0xf3 ? "HWRM_WOL_REASON_QCFG": \
+	((x) == 0xa0 ? "HWRM_TUNNEL_DST_PORT_QUERY": \
+	((x) == 0xa1 ? "HWRM_TUNNEL_DST_PORT_ALLOC": \
+	((x) == 0xa2 ? "HWRM_TUNNEL_DST_PORT_FREE": \
+	((x) == 0xfffc ? "HWRM_NVM_RAW_DUMP": \
+	((x) == 0xfffb ? "HWRM_NVM_GET_DIR_INFO": \
+	((x) == 0x10c ? "HWRM_CFA_REDIRECT_TUNNEL_TYPE_FREE": \
+	((x) == 0x10b ? "HWRM_CFA_REDIRECT_TUNNEL_TYPE_ALLOC": \
+	((x) == 0x10a ? "HWRM_CFA_VLAN_ANTISPOOF_QCFG": \
+	((x) == 0xe ? "HWRM_FUNC_BUF_UNRGTR": \
+	((x) == 0xf ? "HWRM_FUNC_VF_CFG": \
+	((x) == 0xffff ? "HWRM_NVM_RAW_WRITE_BLK": \
+	((x) == 0xfffe ? "HWRM_NVM_WRITE": \
+	((x) == 0xfffd ? "HWRM_NVM_READ": \
+	((x) == 0x50 ? "HWRM_RING_ALLOC": \
+	((x) == 0x51 ? "HWRM_RING_FREE": \
+	((x) == 0x52 ? "HWRM_RING_CMPL_RING_QAGGINT_PARAMS": \
+	((x) == 0x53 ? "HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS": \
+	((x) == 0x4a ? "HWRM_VNIC_QCAPS": \
+	((x) == 0x49 ? "HWRM_VNIC_PLCMODES_QCFG": \
+	((x) == 0x48 ? "HWRM_VNIC_PLCMODES_CFG": \
+	((x) == 0x47 ? "HWRM_VNIC_RSS_QCFG": \
+	((x) == 0x46 ? "HWRM_VNIC_RSS_CFG": \
+	((x) == 0x44 ? "HWRM_VNIC_TPA_CFG": \
+	((x) == 0x43 ? "HWRM_VNIC_QCFG": \
+	((x) == 0x42 ? "HWRM_VNIC_CFG": \
+	((x) == 0x41 ? "HWRM_VNIC_FREE": \
+	((x) == 0x40 ? "HWRM_VNIC_ALLOC": \
+	((x) == 0x0 ? "HWRM_VER_GET": \
+	((x) == 0xfff9 ? "HWRM_NVM_FIND_DIR_ENTRY": \
+	((x) == 0xfff8 ? "HWRM_NVM_MOD_DIR_ENTRY": \
+	((x) == 0xfff7 ? "HWRM_NVM_ERASE_DIR_ENTRY": \
+	((x) == 0x5e ? "HWRM_RING_RESET": \
+	((x) == 0xfff5 ? "HWRM_NVM_VERIFY_UPDATE": \
+	((x) == 0xfff4 ? "HWRM_NVM_MODIFY": \
+	((x) == 0xfff3 ? "HWRM_NVM_INSTALL_UPDATE": \
+	((x) == 0xfff2 ? "HWRM_NVM_SET_VARIABLE": \
+	((x) == 0xfff1 ? "HWRM_NVM_GET_VARIABLE": \
+	((x) == 0xfff0 ? "HWRM_NVM_FLUSH": \
+	((x) == 0x2e ? "HWRM_PORT_LED_QCFG": \
+	((x) == 0x2d ? "HWRM_PORT_LED_CFG": \
+	((x) == 0x2f ? "HWRM_PORT_LED_QCAPS": \
+	((x) == 0x2a ? "HWRM_PORT_PHY_QCAPS": \
+	((x) == 0x38 ? "HWRM_QUEUE_PRI2COS_CFG": \
+	((x) == 0x39 ? "HWRM_QUEUE_COS2BW_QCFG": \
+	((x) == 0x32 ? "HWRM_QUEUE_CFG": \
+	((x) == 0x33 ? "HWRM_FUNC_VLAN_CFG": \
+	((x) == 0x30 ? "HWRM_QUEUE_QPORTCFG": \
+	((x) == 0x31 ? "HWRM_QUEUE_QCFG": \
+	((x) == 0x36 ? "HWRM_QUEUE_PFCENABLE_CFG": \
+	((x) == 0x37 ? "HWRM_QUEUE_PRI2COS_QCFG": \
+	((x) == 0x34 ? "HWRM_FUNC_VLAN_QCFG": \
+	((x) == 0x35 ? "HWRM_QUEUE_PFCENABLE_QCFG": \
+	((x) == 0xff17 ? "HWRM_DBG_COREDUMP_LIST": \
+	((x) == 0xff18 ? "HWRM_DBG_COREDUMP_INITIATE": \
+	((x) == 0xff19 ? "HWRM_DBG_COREDUMP_RETRIEVE": \
+	((x) == 0xf1 ? "HWRM_WOL_FILTER_FREE": \
+	((x) == 0xf0 ? "HWRM_WOL_FILTER_ALLOC": \
+	((x) == 0x27 ? "HWRM_PORT_PHY_QCFG": \
+	((x) == 0xf2 ? "HWRM_WOL_FILTER_QCFG": \
+	((x) == 0x21 ? "HWRM_PORT_MAC_CFG": \
+	((x) == 0x20 ? "HWRM_PORT_PHY_CFG": \
+	((x) == 0x23 ? "HWRM_PORT_QSTATS": \
+	((x) == 0x28 ? "HWRM_PORT_MAC_QCFG": \
+	((x) == 0xffef ? "HWRM_NVM_VALIDATE_OPTION": \
+	((x) == 0x3a ? "HWRM_QUEUE_COS2BW_CFG": \
+	"Unknown req_type"))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33082: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28644:
+	((x) == 0x99 ? "HWRM_CFA_NTUPLE_FILTER_ALLOC": \
 	                                             ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33083: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28645:
+	((x) == 0x90 ? "HWRM_CFA_L2_FILTER_ALLOC": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33084: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28646:
+	((x) == 0x91 ? "HWRM_CFA_L2_FILTER_FREE": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33085: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28647:
+	((x) == 0x92 ? "HWRM_CFA_L2_FILTER_CFG": \
 	                                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33086: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28648:
+	((x) == 0x93 ? "HWRM_CFA_L2_SET_RX_MASK": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33087: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28649:
+	((x) == 0x94 ? "HWRM_CFA_VLAN_ANTISPOOF_CFG": \
 	                                            ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33088: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28650:
+	((x) == 0x95 ? "HWRM_CFA_TUNNEL_FILTER_ALLOC": \
 	                                             ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33089: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28651:
+	((x) == 0x96 ? "HWRM_CFA_TUNNEL_FILTER_FREE": \
 	                                            ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33090: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28652:
+	((x) == 0x10 ? "RESERVED1": \
 	                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33091: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28653:
+	((x) == 0x11 ? "HWRM_FUNC_RESET": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33092: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28654:
+	((x) == 0x12 ? "HWRM_FUNC_GETFID": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33093: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28655:
+	((x) == 0x13 ? "HWRM_FUNC_VF_ALLOC": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33094: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28656:
+	((x) == 0x14 ? "HWRM_FUNC_VF_FREE": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33095: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28657:
+	((x) == 0x15 ? "HWRM_FUNC_QCAPS": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33096: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28658:
+	((x) == 0x16 ? "HWRM_FUNC_QCFG": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33097: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28659:
+	((x) == 0x17 ? "HWRM_FUNC_CFG": \
 	                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33098: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28660:
+	((x) == 0x18 ? "HWRM_FUNC_QSTATS": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33099: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28661:
+	((x) == 0x19 ? "HWRM_FUNC_CLR_STATS": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33100: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28662:
+	((x) == 0xe0 ? "HWRM_TEMP_MONITOR_QUERY": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33101: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28663:
+	((x) == 0x1a ? "HWRM_FUNC_DRV_UNRGTR": \
 	                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33102: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28664:
+	((x) == 0x1b ? "HWRM_FUNC_VF_RESC_FREE": \
 	                                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33103: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28665:
+	((x) == 0x1c ? "HWRM_FUNC_VF_VNIC_IDS_QUERY": \
 	                                            ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33104: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28666:
+	((x) == 0x1d ? "HWRM_FUNC_DRV_RGTR": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33105: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28667:
+	((x) == 0x1e ? "HWRM_FUNC_DRV_QVER": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33106: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28668:
+	((x) == 0x1f ? "HWRM_FUNC_BUF_RGTR": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33107: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28669:
+	((x) == 0x9a ? "HWRM_CFA_NTUPLE_FILTER_FREE": \
 	                                            ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33108: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28670:
+	((x) == 0x9b ? "HWRM_CFA_NTUPLE_FILTER_CFG": \
 	                                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33109: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28671:
+	((x) == 0xd3 ? "HWRM_FWD_ASYNC_EVENT_CMPL": \
 	                                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33110: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28672:
+	((x) == 0xd2 ? "HWRM_FWD_OUTPUT": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33111: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28673:
+	((x) == 0xd1 ? "HWRM_REJECT_FWD_OUTPUT": \
 	                                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33112: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28674:
+	((x) == 0xd0 ? "HWRM_EXEC_FWD_RESP": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33113: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28675:
+	((x) == 0xfffa ? "HWRM_NVM_GET_DIR_ENTRIES": \
 	                                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33114: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28676:
+	((x) == 0xc0 ? "HWRM_FW_RESET": \
 	                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33115: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28677:
+	((x) == 0xc1 ? "HWRM_FW_QSTATUS": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33116: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28678:
+	((x) == 0x70 ? "HWRM_VNIC_RSS_COS_LB_CTX_ALLOC": \
 	                                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33117: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28679:
+	((x) == 0x71 ? "HWRM_VNIC_RSS_COS_LB_CTX_FREE": \
 	                                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33118: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28680:
+	((x) == 0xb1 ? "HWRM_STAT_CTX_FREE": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33119: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28681:
+	((x) == 0xb0 ? "HWRM_STAT_CTX_ALLOC": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33120: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28682:
+	((x) == 0xb3 ? "HWRM_STAT_CTX_CLR_STATS": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33121: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28683:
+	((x) == 0xb2 ? "HWRM_STAT_CTX_QUERY": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33122: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28684:
+	((x) == 0xfff6 ? "HWRM_NVM_GET_DEV_INFO": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33123: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28685:
+	((x) == 0x61 ? "HWRM_RING_GRP_FREE": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33124: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28686:
+	((x) == 0x60 ? "HWRM_RING_GRP_ALLOC": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33125: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28687:
+	((x) == 0x24 ? "HWRM_PORT_LPBK_QSTATS": \
 	                                      ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33126: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28688:
+	((x) == 0xf3 ? "HWRM_WOL_REASON_QCFG": \
 	                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33127: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28689:
+	((x) == 0xa0 ? "HWRM_TUNNEL_DST_PORT_QUERY": \
 	                                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33128: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28690:
+	((x) == 0xa1 ? "HWRM_TUNNEL_DST_PORT_ALLOC": \
 	                                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33129: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28691:
+	((x) == 0xa2 ? "HWRM_TUNNEL_DST_PORT_FREE": \
 	                                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33130: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28692:
+	((x) == 0xfffc ? "HWRM_NVM_RAW_DUMP": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33131: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28693:
+	((x) == 0xfffb ? "HWRM_NVM_GET_DIR_INFO": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33132: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28694:
+	((x) == 0x10c ? "HWRM_CFA_REDIRECT_TUNNEL_TYPE_FREE": \
 	                                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33133: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28695:
+	((x) == 0x10b ? "HWRM_CFA_REDIRECT_TUNNEL_TYPE_ALLOC": \
 	                                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33134: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28696:
+	((x) == 0x10a ? "HWRM_CFA_VLAN_ANTISPOOF_QCFG": \
 	                                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33135: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28697:
+	((x) == 0xe ? "HWRM_FUNC_BUF_UNRGTR": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33136: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28698:
+	((x) == 0xf ? "HWRM_FUNC_VF_CFG": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33137: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28699:
+	((x) == 0xffff ? "HWRM_NVM_RAW_WRITE_BLK": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33138: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28700:
+	((x) == 0xfffe ? "HWRM_NVM_WRITE": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33139: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28701:
+	((x) == 0xfffd ? "HWRM_NVM_READ": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33140: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28702:
+	((x) == 0x50 ? "HWRM_RING_ALLOC": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33141: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28703:
+	((x) == 0x51 ? "HWRM_RING_FREE": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33142: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28704:
+	((x) == 0x52 ? "HWRM_RING_CMPL_RING_QAGGINT_PARAMS": \
 	                                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33143: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28705:
+	((x) == 0x53 ? "HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS": \
 	                                                      ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33144: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28706:
+	((x) == 0x4a ? "HWRM_VNIC_QCAPS": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33145: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28707:
+	((x) == 0x49 ? "HWRM_VNIC_PLCMODES_QCFG": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33146: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28708:
+	((x) == 0x48 ? "HWRM_VNIC_PLCMODES_CFG": \
 	                                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33147: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28709:
+	((x) == 0x47 ? "HWRM_VNIC_RSS_QCFG": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33148: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28710:
+	((x) == 0x46 ? "HWRM_VNIC_RSS_CFG": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33149: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28711:
+	((x) == 0x44 ? "HWRM_VNIC_TPA_CFG": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33150: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28712:
+	((x) == 0x43 ? "HWRM_VNIC_QCFG": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33151: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28713:
+	((x) == 0x42 ? "HWRM_VNIC_CFG": \
 	                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33152: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28714:
+	((x) == 0x41 ? "HWRM_VNIC_FREE": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33153: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28715:
+	((x) == 0x40 ? "HWRM_VNIC_ALLOC": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33154: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28716:
+	((x) == 0x0 ? "HWRM_VER_GET": \
 	                            ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33155: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28717:
+	((x) == 0xfff9 ? "HWRM_NVM_FIND_DIR_ENTRY": \
 	                                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33156: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28718:
+	((x) == 0xfff8 ? "HWRM_NVM_MOD_DIR_ENTRY": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33157: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28719:
+	((x) == 0xfff7 ? "HWRM_NVM_ERASE_DIR_ENTRY": \
 	                                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33158: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28720:
+	((x) == 0x5e ? "HWRM_RING_RESET": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33159: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28721:
+	((x) == 0xfff5 ? "HWRM_NVM_VERIFY_UPDATE": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33160: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28722:
+	((x) == 0xfff4 ? "HWRM_NVM_MODIFY": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33161: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28723:
+	((x) == 0xfff3 ? "HWRM_NVM_INSTALL_UPDATE": \
 	                                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33162: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28724:
+	((x) == 0xfff2 ? "HWRM_NVM_SET_VARIABLE": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33163: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28725:
+	((x) == 0xfff1 ? "HWRM_NVM_GET_VARIABLE": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33164: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28726:
+	((x) == 0xfff0 ? "HWRM_NVM_FLUSH": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33165: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28727:
+	((x) == 0x2e ? "HWRM_PORT_LED_QCFG": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33166: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28728:
+	((x) == 0x2d ? "HWRM_PORT_LED_CFG": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33167: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28729:
+	((x) == 0x2f ? "HWRM_PORT_LED_QCAPS": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33168: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28730:
+	((x) == 0x2a ? "HWRM_PORT_PHY_QCAPS": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33169: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28731:
+	((x) == 0x38 ? "HWRM_QUEUE_PRI2COS_CFG": \
 	                                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33170: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28732:
+	((x) == 0x39 ? "HWRM_QUEUE_COS2BW_QCFG": \
 	                                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33171: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28733:
+	((x) == 0x32 ? "HWRM_QUEUE_CFG": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33172: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28734:
+	((x) == 0x33 ? "HWRM_FUNC_VLAN_CFG": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33173: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28735:
+	((x) == 0x30 ? "HWRM_QUEUE_QPORTCFG": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33174: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28736:
+	((x) == 0x31 ? "HWRM_QUEUE_QCFG": \
 	                                ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33175: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28737:
+	((x) == 0x36 ? "HWRM_QUEUE_PFCENABLE_CFG": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33176: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28738:
+	((x) == 0x37 ? "HWRM_QUEUE_PRI2COS_QCFG": \
 	                                        ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33177: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28739:
+	((x) == 0x34 ? "HWRM_FUNC_VLAN_QCFG": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33178: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28740:
+	((x) == 0x35 ? "HWRM_QUEUE_PFCENABLE_QCFG": \
 	                                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33179: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28741:
+	((x) == 0xff17 ? "HWRM_DBG_COREDUMP_LIST": \
 	                                         ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33180: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28742:
+	((x) == 0xff18 ? "HWRM_DBG_COREDUMP_INITIATE": \
 	                                             ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33181: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28743:
+	((x) == 0xff19 ? "HWRM_DBG_COREDUMP_RETRIEVE": \
 	                                             ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33182: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28744:
+	((x) == 0xf1 ? "HWRM_WOL_FILTER_FREE": \
 	                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33183: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28745:
+	((x) == 0xf0 ? "HWRM_WOL_FILTER_ALLOC": \
 	                                      ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33184: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28746:
+	((x) == 0x27 ? "HWRM_PORT_PHY_QCFG": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33185: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28747:
+	((x) == 0xf2 ? "HWRM_WOL_FILTER_QCFG": \
 	                                     ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33186: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28748:
+	((x) == 0x21 ? "HWRM_PORT_MAC_CFG": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33187: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28749:
+	((x) == 0x20 ? "HWRM_PORT_PHY_CFG": \
 	                                  ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33188: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28750:
+	((x) == 0x23 ? "HWRM_PORT_QSTATS": \
 	                                 ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33189: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28751:
+	((x) == 0x28 ? "HWRM_PORT_MAC_QCFG": \
 	                                   ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33190: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28752:
+	((x) == 0xffef ? "HWRM_NVM_VALIDATE_OPTION": \
 	                                           ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33191: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28753:
+	((x) == 0x3a ? "HWRM_QUEUE_COS2BW_CFG": \
 	                                      ^

WARNING:LONG_LINE: line over 90 characters
#33192: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28754:
+	"Unknown req_type"))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#33355: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28900:
+#define HWRM_GET_HWRM_ERROR_CODE(x) \
+	((x) == 0xf ? "HWRM_ERROR": \
+	((x) == 0xffff ? "CMD_NOT_SUPPORTED": \
+	((x) == 0xfffe ? "UNKNOWN_ERR": \
+	((x) == 0x4 ? "RESOURCE_ALLOC_ERROR": \
+	((x) == 0x5 ? "INVALID_FLAGS": \
+	((x) == 0x6 ? "INVALID_ENABLES": \
+	((x) == 0x0 ? "SUCCESS": \
+	((x) == 0x1 ? "FAIL": \
+	((x) == 0x2 ? "INVALID_PARAMS": \
+	((x) == 0x3 ? "RESOURCE_ACCESS_DENIED": \
+	"Unknown error_code"))))))))))

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33356: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28901:
+	((x) == 0xf ? "HWRM_ERROR": \
 	                          ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33357: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28902:
+	((x) == 0xffff ? "CMD_NOT_SUPPORTED": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33358: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28903:
+	((x) == 0xfffe ? "UNKNOWN_ERR": \
 	                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33359: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28904:
+	((x) == 0x4 ? "RESOURCE_ALLOC_ERROR": \
 	                                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33360: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28905:
+	((x) == 0x5 ? "INVALID_FLAGS": \
 	                             ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33361: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28906:
+	((x) == 0x6 ? "INVALID_ENABLES": \
 	                               ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33362: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28907:
+	((x) == 0x0 ? "SUCCESS": \
 	                       ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33363: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28908:
+	((x) == 0x1 ? "FAIL": \
 	                    ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33364: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28909:
+	((x) == 0x2 ? "INVALID_PARAMS": \
 	                              ^

ERROR:SPACING: spaces required around that ':' (ctx:VxE)
#33365: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:28910:
+	((x) == 0x3 ? "RESOURCE_ACCESS_DENIED": \
 	                                      ^

total: 139 errors, 27 warnings, 3 checks, 33799 lines checked


More information about the test-report mailing list