]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
auxdisplay: panel: Fix an API misuse in panel.c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Feb 2025 12:36:25 +0000 (14:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:12 +0000 (14:39 +0200)
commit4f42478af663725db424ac60f9f81c68c8ba07b7
tree4d13e9a4c6b2a8907481dfa46193d388075f4485
parentf0a72629ccecad4ecc3d60132d82f5098077b97a
auxdisplay: panel: Fix an API misuse in panel.c

[ Upstream commit 72e1c440c848624ad4cfac93d69d8a999a20355b ]

Variable allocated by charlcd_alloc() should be released
by charlcd_free(). The following patch changed kfree() to
charlcd_free() to fix an API misuse.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 718e05ed92ec ("auxdisplay: Introduce hd44780_common.[ch]")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/auxdisplay/panel.c