[openEuler-21.09 124/141] net: hns3: add error handling compatibility during initialization