Re: [PATCH] rtc: hctosys: Add missing range error reporting

2018-11-07 Thread Alexandre Belloni
On 05/11/2018 03:48:25+, Maciej W. Rozycki wrote: > Fix an issue with the 32-bit range error path in `rtc_hctosys' where no > error code is set and consequently the successful preceding call result > from `rtc_read_time' is propagated to `rtc_hctosys_ret'. This in turn > makes any subsequen

[PATCH] rtc: hctosys: Add missing range error reporting

2018-11-04 Thread Maciej W. Rozycki
Fix an issue with the 32-bit range error path in `rtc_hctosys' where no error code is set and consequently the successful preceding call result from `rtc_read_time' is propagated to `rtc_hctosys_ret'. This in turn makes any subsequent call to `hctosys_show' incorrectly report in sysfs that the