mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-28 19:17:39 +00:00
The function overlay_manager_store currently fails if the sysfs input is a prefix string of an existing overlay manager name. This occurs because strncmp compares the two strings only till the length of the input sysfs string. So a sysfs input "lcd" will match manager name "lcd2" which is incorrect behavior. The use of sysfs_streq here will prevent this false positive match to occur. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com> |
||
|---|---|---|
| .. | ||
| core.c | ||
| dispc.c | ||
| display.c | ||
| dpi.c | ||
| dsi.c | ||
| dss.c | ||
| dss.h | ||
| Kconfig | ||
| Makefile | ||
| manager.c | ||
| overlay.c | ||
| rfbi.c | ||
| sdi.c | ||
| venc.c | ||