From: Qianqian Xie <xieqianq...@huawei.com> There is some inappropriate application of values in hns driver, such as cycle index, returned value, format string, useless citation. This patch set will solve it.
--- change log: PATCH v2: - This patchset fixes the comments provided by Andy Shevchenko <Andy Shevchenko> PATCH v1: - first submit Qianqian Xie (4): net: hns: fix a bug for cycle index net: hns: bug fix for format string net: hns: bug fix for return values net: hns: remove useless head=ring->next_to_clean drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 3 ++- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 12 ++++++------ drivers/net/ethernet/hisilicon/hns/hns_enet.c | 5 +---- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 4 ++-- 4 files changed, 11 insertions(+), 13 deletions(-) -- 1.9.1