Re: [PATCH v4 1/8] irqchip/loongson-htpic: Remove redundant kfree operation

2020-07-16 Thread Markus Elfring
> In the function htpic_of_init(), when kzalloc htpic fails, it should > return -ENOMEM directly, no need to execute "goto" to kfree. Would another imperative wording be preferred for the commit message? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/

[PATCH v4 1/8] irqchip/loongson-htpic: Remove redundant kfree operation

2020-07-15 Thread Tiezhu Yang
In the function htpic_of_init(), when kzalloc htpic fails, it should return -ENOMEM directly, no need to execute "goto" to kfree. Signed-off-by: Tiezhu Yang --- drivers/irqchip/irq-loongson-htpic.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-loon