linux/drivers/net/ethernet/hisilicon/hns
Qianqian Xie 8d71397bd2 net: hns: optimizate fmt of snprintf()
It misses string format in function snprintf(), as below:
snprintf(buff, ETH_GSTRING_LEN, g_gmac_stats_string[i].desc);

It needs to add "%s" to fix it as below:
snprintf(buff, ETH_GSTRING_LEN, "%s", g_gmac_stats_string[i].desc);

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-24 14:33:06 -04:00
..
hnae.c net: hns: enet specifies a reference to dsaf 2016-01-21 12:02:31 -08:00
hnae.h net: hns: fixed portid bug in sending manage pkt 2016-03-22 15:45:57 -04:00
hns_ae_adapt.c net: hns: fixes a bug of RSS 2016-03-22 15:45:58 -04:00
hns_dsaf_gmac.c net: hns: optimizate fmt of snprintf() 2016-03-24 14:33:06 -04:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: adds limitation for debug port mtu 2016-03-22 15:45:58 -04:00
hns_dsaf_mac.h net: hns: adds limitation for debug port mtu 2016-03-22 15:45:58 -04:00
hns_dsaf_main.c net: hns: fix a bug for cycle index 2016-03-24 14:33:06 -04:00
hns_dsaf_main.h net: hns: fix the bug about loopback 2016-03-07 15:44:51 -05:00
hns_dsaf_misc.c net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem 2015-12-04 14:36:15 -05:00
hns_dsaf_misc.h
hns_dsaf_ppe.c net: hns: fix the bug about mtu setting 2016-03-22 15:45:58 -04:00
hns_dsaf_ppe.h net: hns: fix the bug about mtu setting 2016-03-22 15:45:58 -04:00
hns_dsaf_rcb.c net: hns: bug fix about hisilicon TSO BD mode 2016-01-18 11:52:37 -05:00
hns_dsaf_rcb.h net: hns: bug fix about hisilicon TSO BD mode 2016-01-18 11:52:37 -05:00
hns_dsaf_reg.h net: hns: add uc match for debug ports 2016-03-22 15:45:57 -04:00
hns_dsaf_xgmac.c net: hisilicon: fixes a bug when using ethtool -S 2015-10-15 06:01:41 -07:00
hns_dsaf_xgmac.h
hns_enet.c net: hns: bug fix about the overflow of mss 2016-03-22 15:45:59 -04:00
hns_enet.h net: hns: enet specifies a reference to dsaf 2016-01-21 12:02:31 -08:00
hns_ethtool.c net: hns: fixes a bug of RSS 2016-03-22 15:45:58 -04:00
Makefile net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00