Re: [PATCH v2] auxdisplay: hd44780: Fix an API misuse in hd44780.c
From: Geert Uytterhoeven
Date: Mon Feb 24 2025 - 08:41:16 EST
Hi Andy,
On Mon, 24 Feb 2025 at 13:35, Andy Shevchenko <andy@xxxxxxxxxx> wrote:
> On Mon, Feb 24, 2025 at 06:15:27PM +0800, Haoxiang Li wrote:
> > Variable allocated by charlcd_alloc() should be released
> > by charlcd_free(). The following patch changed kfree() to
> > charlcd_free() to fix an API misuse.
>
> > Fixes: 718e05ed92ec ("auxdisplay: Introduce hd44780_common.[ch]")
> > Cc: stable@xxxxxxxxxxxxxxx
>
> Okay, looking closer to the current state of affairs, the change
> does not fix anything actually. OTOH it's correct semantically and
> allows to do any further development in charlcd_alloc(), if any.
>
> That said, if Geert is okay with it, I would like to apply but without
> Fixes/Cc: stable@ tags.
I had mixed feelings about the Fixes-tag, too.
Semantically, it's indeed a fix. If any further cleanups are ever done
and backported, but this patch would be missed, it would introduce a bug.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds