[PATCH 4.19 118/140] net: hns3: change hnae3_register_ae_dev() to int