Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

irqchip/riscv-intc: Fix memory leak when riscv_intc_init_common() fails #1044

Closed
wants to merge 1 commit into from

Conversation

bjoto
Copy link

@bjoto bjoto commented May 27, 2024

Pull request for series with
subject: irqchip/riscv-intc: Fix memory leak when riscv_intc_init_common() fails
version: 1
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=856057

@bjoto
Copy link
Author

bjoto commented May 27, 2024

Upstream branch: 6ca445d
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=856057
version: 1

@bjoto
Copy link
Author

bjoto commented May 27, 2024

Upstream branch: 6ca445d
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=856057
version: 1

When riscv_intc_init_common() fails, the firmware node allocated is not
freed. Fix this memory leak.

Fixes: 7023b9d ("irqchip/riscv-intc: Add ACPI support")
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
@bjoto
Copy link
Author

bjoto commented May 27, 2024

Upstream branch: 1613e60
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=856057
version: 1

@bjoto
Copy link
Author

bjoto commented May 28, 2024

At least one diff in series https://patchwork.kernel.org/project/linux-riscv/list/?series=856057 irrelevant now. Closing PR.

@bjoto bjoto closed this May 28, 2024
@bjoto bjoto deleted the series/856057=>for-next branch May 28, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants