]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2093b00eb319db0c68532051d04cf2ecdb40422d
treeb576b7403898ed5f124a5762785b82fcf52d6965
parentdc2ec702f390ae93cfe7c40c46cb2070a00a941c
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