[PATCH -next] serial: 8250_uniphier: fix error return code in uniphier_uart_probe()

Masahiro Yamada yamada.masahiro at socionext.com
Wed Jan 3 23:41:12 PST 2018


2018-01-04 16:42 GMT+09:00 Wei Yongjun <weiyongjun1 at huawei.com>:
> Fix to return a negative error code from the port register error
> handling case instead of 0, as done elsewhere in this function.
>
> Fixes: 39be40ce066d ("serial: 8250_uniphier: fix serial port index in private data")
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>
> ---

Acked-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Thanks!

-- 
Best Regards
Masahiro Yamada



More information about the linux-arm-kernel mailing list