Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: hns3: Fix a memory leak in an error handling path in 'hclge_hand…
…le_error_info_log()' If this 'kzalloc()' fails we must free some resources as in all the other error handling paths of this function. Fixes: 2e2deee ("net: hns3: add the RAS compatibility adaptation solution") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Jiaran Zhang <zhangjiaran@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information