From: Wei Yongjun weiyongjun1@huawei.com Date: Mon, 27 Apr 2020 10:43:22 +0000
Fix to return negative error code -ENOMEM from the error handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun weiyongjun1@huawei.com
Applied, thanks.