]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: change print level of RAS error log from warning to error
authorXiaofei Tan <tanxiaofei@huawei.com>
Fri, 16 Aug 2019 08:09:40 +0000 (16:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Aug 2019 19:59:12 +0000 (12:59 -0700)
commitf99a614db1f1bdbce3beb9efdeaf400a5b8ea419
tree6c96d3b600c24b70832a2be6fa565207df4df07a
parent8d5a2972b9d3cfe358373a7ace1940ae43e607fe
net: hns3: change print level of RAS error log from warning to error

This patch changes print level of RAS error log from warning to error.
Because RAS error and its recovery process could cause application
failure. Also uses %u instead of %d when the parameter is unsigned.

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.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_err.c