diff options
| author | Jonathan Neuschäfer <[email protected]> | 2023-09-23 13:31:27 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2023-10-19 01:06:05 +0000 |
| commit | bbc5080bef4a245106aa8e8d424ba8847ca7c0ca (patch) | |
| tree | 4c2f9d088214c343cc872ef725588e74b18a1a34 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | clk: at91: remove unnecessary conditions (diff) | |
| download | kernel-bbc5080bef4a245106aa8e8d424ba8847ca7c0ca.tar.gz kernel-bbc5080bef4a245106aa8e8d424ba8847ca7c0ca.zip | |
clk: npcm7xx: Fix incorrect kfree
The corresponding allocation is:
> npcm7xx_clk_data = kzalloc(struct_size(npcm7xx_clk_data, hws,
> NPCM7XX_NUM_CLOCKS), GFP_KERNEL);
... so, kfree should be applied to npcm7xx_clk_data, not
npcm7xx_clk_data->hws.
Fixes: fcfd14369856 ("clk: npcm7xx: add clock controller")
Signed-off-by: Jonathan Neuschäfer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
