[Letux-kernel] [PATCH 2/4] w1: omap-hdq: fix return value to be -1 if there is a timeout

Tony Lindgren tony at atomide.com
Sat May 23 20:11:38 CEST 2020


* H. Nikolaus Schaller <hns at goldelico.com> [200523 17:34]:
> The code accidentially overwrites the variable ret and not val,
> which is returned. So it will return the initial value 0 instead
> of -1.

Oops, sorry about causing this. And thanks for catching it:

Acked-by: Tony Lindgren <tony at atomide.com>


More information about the Letux-kernel mailing list