Re: Re: [PATCH] USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800Device Driver Support

From: liujunliang_ljl
Date: Mon Feb 10 2014 - 01:33:42 EST


Dear Joe :

Thanks a lot for your detail checking.


2014-02-10



liujunliang_ljl



åääï Joe Perches
åéæéï 2014-02-10 13:47:08
æääï liujunliang_ljl
æéï davem; horms; romieu; gregkh; netdev; linux-usb; linux-kernel; sunhecheng
äéï Re: [PATCH] USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800Device Driver Support

On Mon, 2014-02-10 at 13:33 +0800, liujunliang_ljl@xxxxxxx wrote:
> diff --git a/drivers/net/usb/sr9800.c b/drivers/net/usb/sr9800.c
[]
> + netdev_dbg(dev->net, "mac addr : 0x%x:0x%x:0x%x:0x%x:0x%x:0x%x\n",
> + dev->net->dev_addr[0], dev->net->dev_addr[1],
> + dev->net->dev_addr[2], dev->net->dev_addr[3],
> + dev->net->dev_addr[4], dev->net->dev_addr[5]);
mac addresses are assumed to be hex and don't need 0x prefixes.
Also, there's a kernel vsprintf extension "%pM" for mac addresses.
netdev_dbg(dev->net, "mac addr: %pM\n", dev->net->dev_addr);
.
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_