Re: [PATCH -next] gnss: sirf: fix error return code in sirf_probe()

2020-05-13 Thread Johan Hovold
On Thu, May 07, 2020 at 09:42:52AM +, Wei Yongjun wrote: > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: d2efbbd18b1e ("gnss: add driver for sirfstar-based receivers") > Reported-by: Hulk Robot > Signed-off-by:

[PATCH -next] gnss: sirf: fix error return code in sirf_probe()

2020-05-07 Thread Wei Yongjun
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: d2efbbd18b1e ("gnss: add driver for sirfstar-based receivers") Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- drivers/gnss/sirf.c | 8 ++-- 1 file changed, 6