Commit db5c53d1 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment