staging: cxt1e1: '&pointer[0]' to 'pointer' fix
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 17 Sep 2010 08:24:45 +0000 (11:24 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:10:56 +0000 (16:10 -0700)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cxt1e1/sbeproc.c

index af8fce4..c3eed4b 100644 (file)
@@ -143,7 +143,7 @@ sbecom_proc_get_sbe_info (char *buffer, char **start, off_t offset,
     len += sprintf (buffer + len, "Hardware ID:   0x%02X\n", ci->hdw_bid);
     len += sprintf (buffer + len, "Board SN:      %06X\n", bip->brd_sn);
        len += sprintf(buffer + len, "Board MAC:     %pMF\n",
-               &bip->brd_mac_addr[0]);
+               bip->brd_mac_addr);
     len += sprintf (buffer + len, "Ports:         %d\n", ci->max_port);
     len += sprintf (buffer + len, "Channels:      %d\n", bip->brd_chan_cnt);
 #if 1