Skip to content

Commit

Permalink
staging: vt6655: '&pointer[0]' to 'pointer' fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Andy Shevchenko authored and Greg Kroah-Hartman committed Sep 20, 2010
1 parent 97d2354 commit e7cde7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/vt6655/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2018,7 +2018,7 @@ param->u.wpa_key.seq_len = seq_len;

#if 0
printk("param->u.wpa_key.alg_name =%d\n",param->u.wpa_key.alg_name);
printk(KERN_DEBUG "param->addr=%pM\n", &param->addr[0]);
printk(KERN_DEBUG "param->addr=%pM\n", param->addr);
printk("param->u.wpa_key.set_tx =%d\n",param->u.wpa_key.set_tx);
printk("param->u.wpa_key.key_index =%d\n",param->u.wpa_key.key_index);
printk("param->u.wpa_key.key_len =%d\n",param->u.wpa_key.key_len);
Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/vt6655/vntwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,7 @@ VNTWIFIvGetTxRate(
wTxDataRate = (pMgmt->sNodeDBTable[0].wTxDataRate);
#ifdef PLICE_DEBUG
printk(KERN_DEBUG "GetTxRate:AP MAC is %pM,TxRate is %d\n",
&pMgmt->sNodeDBTable[0].abyMACAddr[0],
wTxDataRate);
pMgmt->sNodeDBTable[0].abyMACAddr, wTxDataRate);
#endif


Expand Down

0 comments on commit e7cde7b

Please sign in to comment.