diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-11-29 19:36:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-20 15:05:48 +0300 |
commit | 9175ee1a99d57ec07d66ff572e1d5a724477ab37 (patch) | |
tree | 1355461c3a641ef97baf28550e897fdb27c1a765 /drivers/firmware/efi/libstub | |
parent | ce4273d89c52167d6fe20572136c58117eae0657 (diff) | |
download | linux-9175ee1a99d57ec07d66ff572e1d5a724477ab37.tar.xz |
firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
In error path in stratix10_svc_drv_probe(), gen_pool_destroy() should be called
to destroy the memory pool that created by svc_create_memory_pool().
Fixes: 7ca5ce896524 ("firmware: add Intel Stratix10 service layer driver")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20221129163602.462369-1-dinguyen@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/efi/libstub')
0 files changed, 0 insertions, 0 deletions