mirror of https://gitee.com/openkylin/linux.git
d9995a0fab
The gnss_allocate_device() function returns a mix of NULL and error
pointers on error. It should only return one or the other. Since the
callers both check for NULL, I've modified it to return NULL on error.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
serial.c | ||
serial.h | ||
sirf.c | ||
ubx.c |