43d7ce70ae
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
This avoids a use-after-free in case the driver is later unbound.
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
Kconfig | ||
Makefile | ||
mtk.c | ||
serial.c | ||
serial.h | ||
sirf.c | ||
ubx.c |