Re: [PATCH v2] auxdisplay: hd44780: Fix an API misuse in hd44780.c

From: Andy Shevchenko
Date: Mon Feb 24 2025 - 07:37:04 EST


On Mon, Feb 24, 2025 at 01:30:47PM +0100, Geert Uytterhoeven wrote:
> On Mon, 24 Feb 2025 at 11:16, Haoxiang Li <haoxiang_li2024@xxxxxxx> 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
> > Signed-off-by: Haoxiang Li <haoxiang_li2024@xxxxxxx>
> > ---
> > Changes in v2:
> > - Merge the two patches into one.
> > - Modify the patch description.
>
> Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Pushed to my review and testing queue, thanks!

--
With Best Regards,
Andy Shevchenko