staging: fsl-dpaa2/eth: Error report format fixes
Fix mishaps in error format strings. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3c70d958cf
commit
fb9f6a19d9
@ -656,7 +656,7 @@ static void dpaa2_eth_tx_conf(struct dpaa2_eth_priv *priv,
|
||||
has_fas_errors = (fd_errors & DPAA2_FD_CTRL_FAERR) &&
|
||||
!!(dpaa2_fd_get_frc(fd) & DPAA2_FD_FRC_FASV);
|
||||
if (net_ratelimit())
|
||||
netdev_dbg(priv->net_dev, "TX frame FD error: %x08\n",
|
||||
netdev_dbg(priv->net_dev, "TX frame FD error: 0x%08x\n",
|
||||
fd_errors);
|
||||
}
|
||||
|
||||
@ -670,7 +670,7 @@ static void dpaa2_eth_tx_conf(struct dpaa2_eth_priv *priv,
|
||||
percpu_stats->tx_errors++;
|
||||
|
||||
if (has_fas_errors && net_ratelimit())
|
||||
netdev_dbg(priv->net_dev, "TX frame FAS error: %x08\n",
|
||||
netdev_dbg(priv->net_dev, "TX frame FAS error: 0x%08x\n",
|
||||
status & DPAA2_FAS_TX_ERR_MASK);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user