summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2010-09-17 08:24:51 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 23:10:55 (GMT)
commitdb5c53d15bc987bffa22e7e8044447026750f640 (patch)
tree80c16a1bad75821617515a28c3233383d4932378
parent1c919d90e157f6656439194d6823c68b81b17fee (diff)
downloadlinux-fsl-qoriq-db5c53d15bc987bffa22e7e8044447026750f640.tar.xz
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>
-rw-r--r--drivers/staging/wlags49_h2/wl_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_util.c b/drivers/staging/wlags49_h2/wl_util.c
index e510dcb..4521c9f 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