[PATCH 4.19 130/271] net: hns3: add some error checking in hclge_tm module