Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v4 12/14] irqchip/riscv-intc: Fix potential resource leak
       [not found] ` <1593569786-11500-13-git-send-email-yangtiezhu@loongson.cn>
@ 2020-07-01  9:30   ` Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2020-07-01  9:30 UTC (permalink / raw)
  To: Tiezhu Yang, Thomas Gleixner, Jason Cooper, Marc Zyngier,
	Albert Ou, Palmer Dabbelt, Paul Walmsley, linux-riscv
  Cc: kernel-janitors, linux-kernel

> In the function riscv_intc_init(), system resource "intc_domain"
> was not released in the error case, fix it.

Another small wording adjustment:
  … in an error case. Thus add a call of the function “irq_domain_remove”
  in the if branch.

Regards,
Markus

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-01  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1593569786-11500-1-git-send-email-yangtiezhu@loongson.cn>
     [not found] ` <1593569786-11500-13-git-send-email-yangtiezhu@loongson.cn>
2020-07-01  9:30   ` [PATCH v4 12/14] irqchip/riscv-intc: Fix potential resource leak Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox