Re: [PATCH] clocksource/h8300_timer8: Fix wrong return value in h8300_8timer_init()

From: Daniel Lezcano
Date: Sun Aug 02 2020 - 08:50:53 EST


On 02/08/2020 13:15, Tianjia Zhang wrote:
> In the case of calling of_iomap() failed, a positive value ENXIO is
> returned here. I think this is a typo error. It is necessary to return
> a negative error value.

Yes, it is.

Applied, thanks for the fix.

-- Daniel

--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog