|WARNING| pw150069 [PATCH 02/10] net/ixgbe/base: add interface for LED control on E610

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 14 11:13:50 CET 2025


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

_coding style issues_


WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#72: 
Add interface for sending ACI command for setting port

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#92: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2008:
+ * ixgbe_aci_set_port_id_led - set LED value for the given port

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#100: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2016:
+s32 ixgbe_aci_set_port_id_led(struct ixgbe_hw *hw, bool orig_mode)

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#102: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2018:
+	struct ixgbe_aci_cmd_set_port_id_led *cmd;

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#103: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2019:
+	struct ixgbe_aci_desc desc;

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#107: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2023:
+	ixgbe_fill_dflt_direct_cmd_desc(&desc, ixgbe_aci_opc_set_port_id_led);

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#110: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2026:
+	cmd->lport_num_valid = IXGBE_ACI_PORT_ID_PORT_NUM_VALID;

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#113: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2029:
+		cmd->ident_mode = IXGBE_ACI_PORT_IDENT_LED_ORIG;

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#115: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2031:
+		cmd->ident_mode = IXGBE_ACI_PORT_IDENT_LED_BLINK;

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#117: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2033:
+	return ixgbe_aci_send_cmd(hw, &desc, NULL, 0);

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#131: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:64:
+s32 ixgbe_aci_set_port_id_led(struct ixgbe_hw *hw, bool orig_mode);

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#143: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:480:
+	ixgbe_aci_opc_set_port_id_led			= 0x06E9,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#152: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:1257:
+struct ixgbe_aci_cmd_set_port_id_led {

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#155: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:1260:
+#define IXGBE_ACI_PORT_ID_PORT_NUM_VALID	BIT(0)

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#157: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:1262:
+#define IXGBE_ACI_PORT_IDENT_LED_BLINK		BIT(0)

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#158: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:1263:
+#define IXGBE_ACI_PORT_IDENT_LED_ORIG		0

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#162: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:1267:
+IXGBE_CHECK_PARAM_LEN(ixgbe_aci_cmd_set_port_id_led);

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#171: FILE: drivers/net/ixgbe/base/ixgbe_type_e610.h:1871:
+		struct ixgbe_aci_cmd_set_port_id_led set_port_id_led;

total: 0 errors, 18 warnings, 0 checks, 75 lines checked


More information about the test-report mailing list