drivers: fix typos found by Lintian

Signed-off-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
Luca Boccassi 2022-11-14 14:21:53 +00:00 committed by Thomas Monjalon
parent 98afdb1562
commit bdab530919
4 changed files with 6 additions and 6 deletions

View File

@ -754,14 +754,14 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp)
printf("ctx info:\n"); printf("ctx info:\n");
printf("job->sg[0] output info:\n"); printf("job->sg[0] output info:\n");
memcpy(&sg[0], &job->sg[0], sizeof(sg[0])); memcpy(&sg[0], &job->sg[0], sizeof(sg[0]));
printf("\taddr = %"PRIx64",\n\tlen = %d,\n\tfinal = %d,\n\textention = %d" printf("\taddr = %"PRIx64",\n\tlen = %d,\n\tfinal = %d,\n\textension = %d"
"\n\tbpid = %d\n\toffset = %d\n", "\n\tbpid = %d\n\toffset = %d\n",
(uint64_t)sg[0].addr, sg[0].length, sg[0].final, (uint64_t)sg[0].addr, sg[0].length, sg[0].final,
sg[0].extension, sg[0].bpid, sg[0].offset); sg[0].extension, sg[0].bpid, sg[0].offset);
printf("\njob->sg[1] input info:\n"); printf("\njob->sg[1] input info:\n");
memcpy(&sg[1], &job->sg[1], sizeof(sg[1])); memcpy(&sg[1], &job->sg[1], sizeof(sg[1]));
hw_sg_to_cpu(&sg[1]); hw_sg_to_cpu(&sg[1]);
printf("\taddr = %"PRIx64",\n\tlen = %d,\n\tfinal = %d,\n\textention = %d" printf("\taddr = %"PRIx64",\n\tlen = %d,\n\tfinal = %d,\n\textension = %d"
"\n\tbpid = %d\n\toffset = %d\n", "\n\tbpid = %d\n\toffset = %d\n",
(uint64_t)sg[1].addr, sg[1].length, sg[1].final, (uint64_t)sg[1].addr, sg[1].length, sg[1].final,
sg[1].extension, sg[1].bpid, sg[1].offset); sg[1].extension, sg[1].bpid, sg[1].offset);

View File

@ -198,7 +198,7 @@ bond_ethdev_8023ad_flow_verify(struct rte_eth_dev *bond_dev,
if (slave_info.max_rx_queues < bond_dev->data->nb_rx_queues || if (slave_info.max_rx_queues < bond_dev->data->nb_rx_queues ||
slave_info.max_tx_queues < bond_dev->data->nb_tx_queues) { slave_info.max_tx_queues < bond_dev->data->nb_tx_queues) {
RTE_BOND_LOG(ERR, RTE_BOND_LOG(ERR,
"%s: Slave %d capabilities doesn't allow to allocate additional queues", "%s: Slave %d capabilities doesn't allow allocating additional queues",
__func__, slave_port); __func__, slave_port);
return -1; return -1;
} }

View File

@ -1661,7 +1661,7 @@ hns3_set_default_mac_addr(struct rte_eth_dev *dev,
hns3_ether_format_addr(mac_str, RTE_ETHER_ADDR_FMT_SIZE, hns3_ether_format_addr(mac_str, RTE_ETHER_ADDR_FMT_SIZE,
mac_addr); mac_addr);
hns3_warn(hw, hns3_warn(hw,
"Failed to roll back to del setted mac addr(%s): %d", "Failed to roll back to del set mac addr(%s): %d",
mac_str, ret_val); mac_str, ret_val);
} }

View File

@ -366,7 +366,7 @@ enum _ecore_status_t ecore_pglueb_rbc_attn_handler(struct ecore_hwfn *p_hwfn,
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL); tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL);
if (tmp & ECORE_PGLUE_ATTENTION_ICPL_VALID) if (tmp & ECORE_PGLUE_ATTENTION_ICPL_VALID)
DP_NOTICE(p_hwfn, false, "ICPL erorr - %08x\n", tmp); DP_NOTICE(p_hwfn, false, "ICPL error - %08x\n", tmp);
tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS); tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS);
if (tmp & ECORE_PGLUE_ATTENTION_ZLR_VALID) { if (tmp & ECORE_PGLUE_ATTENTION_ZLR_VALID) {
@ -378,7 +378,7 @@ enum _ecore_status_t ecore_pglueb_rbc_attn_handler(struct ecore_hwfn *p_hwfn,
PGLUE_B_REG_MASTER_ZLR_ERR_ADD_63_32); PGLUE_B_REG_MASTER_ZLR_ERR_ADD_63_32);
DP_NOTICE(p_hwfn, false, DP_NOTICE(p_hwfn, false,
"ICPL erorr - %08x [Address %08x:%08x]\n", "ICPL error - %08x [Address %08x:%08x]\n",
tmp, addr_hi, addr_lo); tmp, addr_hi, addr_lo);
} }