mirror of https://gitee.com/openkylin/linux.git
staging: wlags49_h2: '&pointer[0]' to 'pointer' fix
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1c919d90e1
commit
db5c53d15b
|
@ -338,7 +338,7 @@ const char *DbgHwAddr(unsigned char *hwAddr)
|
|||
static char buffer[18];
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
sprintf(buffer, "%pM", &hwAddr[0]);
|
||||
sprintf(buffer, "%pM", hwAddr);
|
||||
|
||||
return buffer;
|
||||
} // DbgHwAddr
|
||||
|
|
Loading…
Reference in New Issue