OSDN Git Service

net: hns3: clean up some incorrect variable types in hclge_dbg_dump_tm_map()
authorYonglong Liu <liuyonglong@huawei.com>
Tue, 9 Feb 2021 02:41:51 +0000 (10:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 23:34:07 +0000 (15:34 -0800)
commit0256844d0f325c323baf947eaf6bb375d195de26
treeb576b7403898ed5f124a5762785b82fcf52d6965
parentadbb4fb028452b1b0488a1a7b66ab856cdf20715
net: hns3: clean up some incorrect variable types in hclge_dbg_dump_tm_map()

queue_id, qset_id and other IDs are unsigned type, so modify
the corresponding local variables' type in hclge_dbg_dump_tm_map()
from signed to unsigned. kstrtouint() and the print format should
be updated as well.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c