提交 db5c53d1 编写于 作者: A Andy Shevchenko 提交者: Greg Kroah-Hartman

staging: wlags49_h2: '&pointer[0]' to 'pointer' fix

Signed-off-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 1c919d90
...@@ -338,7 +338,7 @@ const char *DbgHwAddr(unsigned char *hwAddr) ...@@ -338,7 +338,7 @@ const char *DbgHwAddr(unsigned char *hwAddr)
static char buffer[18]; static char buffer[18];
/*------------------------------------------------------------------------*/ /*------------------------------------------------------------------------*/
sprintf(buffer, "%pM", &hwAddr[0]); sprintf(buffer, "%pM", hwAddr);
return buffer; return buffer;
} // DbgHwAddr } // DbgHwAddr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册