Re: [PATCH 1/2] ia64: topology: Fix an error handling path in cache_add_dev()
From: John Paul Adrian Glaubitz
Date: Mon Mar 28 2022 - 15:16:53 EST
Hi Christophe!
On 3/28/22 21:07, Christophe JAILLET wrote:
> If kobject_init_and_add()fails, kobject_put() needs to be called.
> Add the missing call which is already there a few lines below in another
> error handling path.
>
> Fixes: f19180056ea0 ("[IA64] Export cpu cache info by sysfs")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Thanks for your patches. There is currently no maintainer for ia64, so the patches
would have to go through Andrew Morton's tree.
However, I can test the patches and verify they don't break anything.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@xxxxxxxxxx
`. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913