Re: [PATCH 5/5] futex: Correct the kernedoc return value for futex_wait_setup()

From: André Almeida
Date: Fri May 16 2025 - 16:53:14 EST


Em 16/05/2025 13:03, Sebastian Andrzej Siewior escreveu:
The kerneldoc for futex_wait_setup() states it can return "0" or "<1".
This isn't true because the error case is "<0" not less than 1.

Document that <0 is returned on error. Drop the possible return values
and state possible reasons.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---

Reviewed-by: André Almeida <andrealmeid@xxxxxxxxxx>