From: Andy Shevchenko Date: Fri, 17 Sep 2010 08:24:51 +0000 (+0300) Subject: staging: wlags49_h2: '&pointer[0]' to 'pointer' fix X-Git-Tag: firefly_0821_release~7613^2~3583^2~3^2~563 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=db5c53d15bc987bffa22e7e8044447026750f640;p=firefly-linux-kernel-4.4.55.git staging: wlags49_h2: '&pointer[0]' to 'pointer' fix Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlags49_h2/wl_util.c b/drivers/staging/wlags49_h2/wl_util.c index e510dcb35d97..4521c9fd5bb2 100644 --- a/drivers/staging/wlags49_h2/wl_util.c +++ b/drivers/staging/wlags49_h2/wl_util.c @@ -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