net: netcp: Fix an error message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 8 May 2021 05:38:22 +0000 (07:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 May 2021 21:22:08 +0000 (14:22 -0700)
commitddb6e00f8413e885ff826e32521cff7924661de0
tree0d4b76f1eca64d3def725bd2e0e993efdde2d2d7
parent8ab78863e9eff11910e1ac8bcf478060c29b379e
net: netcp: Fix an error message

'ret' is known to be 0 here.
The expected error code is stored in 'tx_pipe->dma_queue', so use it
instead.

While at it, switch from %d to %pe which is more user friendly.

Fixes: 84640e27f230 ("net: netcp: Add Keystone NetCP core ethernet driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_core.c