[PATCH 1/3] net: hns3: add device name valid check