Skip to content
Snippets Groups Projects
Commit 1779dc0f authored by Wolfgang Denk's avatar Wolfgang Denk Committed by Tom Rini
Browse files

drivers/net/uli526x.c: fix syntax error


Fix error detected by cppcheck:

[drivers/net/uli526x.c:551]: (error) printf format string requires 3
parameters but only 2 are given.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
Cc: Roy Zang <tie-fei.zang@freescale.com>
parent b807288f
No related branches found
No related tags found
No related merge requests found
...@@ -548,7 +548,7 @@ static int uli526x_rx_packet(struct eth_device *dev) ...@@ -548,7 +548,7 @@ static int uli526x_rx_packet(struct eth_device *dev)
rdes0 = le32_to_cpu(rxptr->rdes0); rdes0 = le32_to_cpu(rxptr->rdes0);
#ifdef RX_DEBUG #ifdef RX_DEBUG
printf("%s(): rxptr->rdes0=%x:%x\n", __FUNCTION__, rxptr->rdes0); printf("%s(): rxptr->rdes0=%x\n", __FUNCTION__, rxptr->rdes0);
#endif #endif
if (!(rdes0 & 0x80000000)) { /* packet owner check */ if (!(rdes0 & 0x80000000)) { /* packet owner check */
if ((rdes0 & 0x300) != 0x300) { if ((rdes0 & 0x300) != 0x300) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment