[PATCH 4.14 090/293] net: hns3: add some error checking in hclge_tm module