mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
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 |