|WARNING| pw140464 [PATCH v3 26/30] net/ixgbe/base: add i2c and GPIO read/write API

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 30 13:20:57 CEST 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#88: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1863:
+ * ixgbe_aci_read_i2c - read I2C register value

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#99: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1874:
+ * Read the value of the I2C pin register using ACI command (0x06E2).

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#103: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1878:
+s32 ixgbe_aci_read_i2c(struct ixgbe_hw *hw,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#104: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1879:
+		       struct ixgbe_aci_cmd_link_topo_addr topo_addr,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#107: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1882:
+	struct ixgbe_aci_desc desc = { 0 };

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

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

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#118: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1893:
+	data_size = (params & IXGBE_ACI_I2C_DATA_SIZE_M) >>

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#119: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1894:
+		    IXGBE_ACI_I2C_DATA_SIZE_S;

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

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#128: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1903:
+		struct ixgbe_aci_cmd_read_i2c_resp *resp;

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#142: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1917:
+ * ixgbe_aci_write_i2c - write a value to I2C register

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#151: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1926:
+ * Write a value to the I2C pin register using ACI command (0x06E3).

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#155: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1930:
+s32 ixgbe_aci_write_i2c(struct ixgbe_hw *hw,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#156: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1931:
+			struct ixgbe_aci_cmd_link_topo_addr topo_addr,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#159: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1934:
+	struct ixgbe_aci_desc desc = { 0 };

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

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

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#166: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1941:
+	data_size = (params & IXGBE_ACI_I2C_DATA_SIZE_M) >>

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#167: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1942:
+		    IXGBE_ACI_I2C_DATA_SIZE_S;

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

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#187: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1962:
+ * ixgbe_aci_set_gpio - set GPIO pin state

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#194: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1969:
+ * using ACI command (0x06EC).

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#198: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1973:
+s32 ixgbe_aci_set_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,

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

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

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

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

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#214: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1989:
+ * ixgbe_aci_get_gpio - get GPIO pin state

WARNING:TYPO_SPELLING: 'ACI' may be misspelled - perhaps ''?
#221: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:1996:
+ * using ACI command (0x06ED).

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#225: FILE: drivers/net/ixgbe/base/ixgbe_e610.c:2000:
+s32 ixgbe_aci_get_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,

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

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

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

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

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#256: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:58:
+s32 ixgbe_aci_read_i2c(struct ixgbe_hw *hw,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#257: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:59:
+		       struct ixgbe_aci_cmd_link_topo_addr topo_addr,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#259: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:61:
+s32 ixgbe_aci_write_i2c(struct ixgbe_hw *hw,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#260: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:62:
+			struct ixgbe_aci_cmd_link_topo_addr topo_addr,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#262: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:64:
+s32 ixgbe_aci_set_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,

WARNING:TYPO_SPELLING: 'aci' may be misspelled - perhaps ''?
#264: FILE: drivers/net/ixgbe/base/ixgbe_e610.h:66:
+s32 ixgbe_aci_get_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,

total: 0 errors, 41 warnings, 0 checks, 180 lines checked


More information about the test-report mailing list