summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-si521xx.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2023-09-23 15:31:27 +0200
committerStephen Boyd <sboyd@kernel.org>2023-10-19 03:06:05 +0200
commitbbc5080bef4a245106aa8e8d424ba8847ca7c0ca (patch)
tree4c2f9d088214c343cc872ef725588e74b18a1a34 /drivers/clk/clk-si521xx.c
parentclk: at91: remove unnecessary conditions (diff)
downloadlinux-bbc5080bef4a245106aa8e8d424ba8847ca7c0ca.tar.xz
linux-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 <j.neuschaefer@gmx.net> Link: https://lore.kernel.org/r/20230923133127.1815621-1-j.neuschaefer@gmx.net Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions