Searched hist:db81fa4ab323b12290ad702445570af00504a5c3 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/ |
H A D | clk-npcm7xx.c | diff db81fa4ab323b12290ad702445570af00504a5c3 Sat Sep 23 08:31:27 CDT 2023 Jonathan Neuschäfer <j.neuschaefer@gmx.net> clk: npcm7xx: Fix incorrect kfree
[ Upstream commit bbc5080bef4a245106aa8e8d424ba8847ca7c0ca ]
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> Signed-off-by: Sasha Levin <sashal@kernel.org>
|