diff options
| author | Kejian Yan <yankejian@huawei.com> | 2017-04-01 12:03:45 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-04-03 14:48:43 -0700 |
| commit | a2185587ade79b9649639721aa21c4cefc1aea6b (patch) | |
| tree | 36f64dfd763c714186d7e88273d80426d1c4dbba /scripts/const_structs.checkpatch | |
| parent | net: hns: Optimise the code in hns_mdio_wait_ready() (diff) | |
| download | linux-a2185587ade79b9649639721aa21c4cefc1aea6b.tar.gz linux-a2185587ade79b9649639721aa21c4cefc1aea6b.zip | |
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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
