aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-08-05 18:37:14 +0000
committerAlex Deucher <[email protected]>2021-08-06 15:36:55 +0000
commit5126da7d99cf6396c929f3b577ba3aed1e74acd7 (patch)
tree29536b37431071613fe5c26c63631dc449897c99 /drivers/fpga/fpga-mgr.c
parentdrm/amdgpu: don't enable baco on boco platforms in runpm (diff)
downloadkernel-5126da7d99cf6396c929f3b577ba3aed1e74acd7.tar.gz
kernel-5126da7d99cf6396c929f3b577ba3aed1e74acd7.zip
drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
'watermarks_table' must be freed instead 'clocks_table', because 'clocks_table' is known to be NULL at this point and 'watermarks_table' is never freed if the last kzalloc fails. Fixes: c98ee89736b8 ("drm/amd/pm: add the fine grain tuning function for vangogh") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions