mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-25 20:52:01 +01:00
net: dm9000x: fix debug output
commit 60f61e6d7655400bb785a2ef637581679941f6d1 breaks compile with gcc by introducing __func__ instead of constant string "func" in the macro call but missed to change the macro. Signed-off-by: Thomas Weber <weber@corscience.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
c179a2896e
commit
076cd24cb4
@ -75,7 +75,7 @@ TODO: external MII is not functional, only internal at the moment.
|
|||||||
#define DM9000_DMP_PACKET(func,packet,length) \
|
#define DM9000_DMP_PACKET(func,packet,length) \
|
||||||
do { \
|
do { \
|
||||||
int i; \
|
int i; \
|
||||||
printf(func ": length: %d\n", length); \
|
printf("%s: length: %d\n", func, length); \
|
||||||
for (i = 0; i < length; i++) { \
|
for (i = 0; i < length; i++) { \
|
||||||
if (i % 8 == 0) \
|
if (i % 8 == 0) \
|
||||||
printf("\n%s: %02x: ", func, i); \
|
printf("\n%s: %02x: ", func, i); \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user