提交 076cd24c 编写于 作者: T Thomas Weber 提交者: Ben Warren

net: dm9000x: fix debug output

commit 60f61e6d 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: NThomas Weber <weber@corscience.de>
Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
上级 c179a289
......@@ -75,7 +75,7 @@ TODO: external MII is not functional, only internal at the moment.
#define DM9000_DMP_PACKET(func,packet,length) \
do { \
int i; \
printf(func ": length: %d\n", length); \
printf("%s: length: %d\n", func, length); \
for (i = 0; i < length; i++) { \
if (i % 8 == 0) \
printf("\n%s: %02x: ", func, i); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册