mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	
				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>  | 
			||
|---|---|---|
| .. | ||
| hnae.c | ||
| hnae.h | ||
| hns_ae_adapt.c | ||
| hns_dsaf_gmac.c | ||
| hns_dsaf_gmac.h | ||
| hns_dsaf_mac.c | ||
| hns_dsaf_mac.h | ||
| hns_dsaf_main.c | ||
| hns_dsaf_main.h | ||
| hns_dsaf_misc.c | ||
| hns_dsaf_misc.h | ||
| hns_dsaf_ppe.c | ||
| hns_dsaf_ppe.h | ||
| hns_dsaf_rcb.c | ||
| hns_dsaf_rcb.h | ||
| hns_dsaf_reg.h | ||
| hns_dsaf_xgmac.c | ||
| hns_dsaf_xgmac.h | ||
| hns_enet.c | ||
| hns_enet.h | ||
| hns_ethtool.c | ||
| Makefile | ||