summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-02-02 23:15:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-11 13:40:28 +0100
commit075415ae18b5b3e4d0187962d538653154216fe7 (patch)
tree4b9464a386b206d63affe3838fbcd2b86a6c45f8 /include/net/aligned_data.h
parent947e6c7ba1578d8cc19f1cb12b21da12336d2862 (diff)
spi: tegra: Fix a memory leak in tegra_slink_probe()
[ Upstream commit 41d9a6795b95d6ea28439ac1e9ce8c95bbca20fc ] In tegra_slink_probe(), when platform_get_irq() fails, it directly returns from the function with an error code, which causes a memory leak. Replace it with a goto label to ensure proper cleanup. Fixes: eb9913b511f1 ("spi: tegra: Fix missing IRQ check in tegra_slink_probe()") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20260202-slink-v1-1-eac50433a6f9@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions