summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-10-10 11:39:45 +0800
committerDavid S. Miller <davem@davemloft.net>2022-10-10 08:39:39 +0100
commitaf7d23f9d96a3e9647cff8619a6860d73b109b5f (patch)
treeda6fa13ceb5b8dfcee3eb755db0b6569125f8e45 /drivers/thermal
parent84cdf5bcbdce1622eeb6c857f8a7e383de1074a9 (diff)
octeontx2-pf: mcs: fix possible memory leak in otx2_probe()
In error path after calling cn10k_mcs_init(), cn10k_mcs_free() need be called to avoid memory leak. Fixes: c54ffc73601c ("octeontx2-pf: mcs: Introduce MACSEC hardware offloading") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions