[PATCH 4.9 41/83] reset: hisilicon: fix potential NULL pointer dereference