]> 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)
commitd2b36c04638e1ebc57e2d54a768712191d6e3835
tree6c96d3b600c24b70832a2be6fa565207df4df07a
parentb1e0d9127557643bc9aa86b5dfa4a8a455be195d
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