[PATCH AUTOSEL 5.2 105/249] net: hns3: fix for dereferencing before null checking