* Re: [PATCH v5 1/2] irqchip/gic-v3-its: Fix double free on error
[not found] ` <20240418061053.96803-2-guanrui.huang@linux.alibaba.com>
@ 2024-04-18 7:55 ` Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2024-04-18 7:55 UTC (permalink / raw)
To: Guanrui Huang, linux-arm-kernel, kernel-janitors, Marc Zyngier,
Zenghui Yu
Cc: LKML, Shannon Zhao, Thomas Gleixner
I propose to improve the commit message another bit.
How do you think about to append the text “in its_vpe_irq_domain_alloc()”
to the summary phrase?
> In its_vpe_irq_domain_alloc, when its_vpe_init() returns an error
> with i > 0, its_vpe_irq_domain_free may free bitmap and vprop_page,
> and then there is a double free in its_vpe_irq_domain_alloc.
Can it be nicer to avoid the duplicate specification of a function name
in this change description?
> Fix it by calling its_vpe_irq_domain_free directly, bitmap and
> vprop_page will be freed in this function.
* Can the phrase “Fix it by” be omitted for an other imperative wording variant?
* Would you like to separate sentences by a dot instead of combining them
with a comma?
Regards,
Markus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-18 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20240418061053.96803-1-guanrui.huang@linux.alibaba.com>
[not found] ` <20240418061053.96803-2-guanrui.huang@linux.alibaba.com>
2024-04-18 7:55 ` [PATCH v5 1/2] irqchip/gic-v3-its: Fix double free on error Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).