Searched hist:a2185587ade79b9649639721aa21c4cefc1aea6b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_ppe.c | diff a2185587ade79b9649639721aa21c4cefc1aea6b Sat Apr 01 06:03:45 CDT 2017 Kejian Yan <yankejian@huawei.com> net: hns: Simplify the exception sequence in hns_ppe_init()
We need to free all ppe submodule if it fails to initialize ppe by any fault, so this patch will free all ppe resource before hns_ppe_init() returns exception situation
Reported-by: JinchuanTian <tianjinchuan1@huawei.com> Signed-off-by: Kejian Yan <yankejian@huawei.com> Reviewed-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|