In mpfs_sys_controller_probe(), when device_get_match_data() returns
NULL, it returns -EINVAL directly without freeing the mbox channel
or the allocated sys_controller memory, causing a resource leak.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mpfs-control-scb.c | ||
| mpfs-irqmux.c | ||
| mpfs-mss-top-sysreg.c | ||
| mpfs-sys-controller.c | ||