futex: Update comments and docs about return values of arch futex code
authorWill Deacon <will.deacon@arm.com>
Wed, 10 Apr 2019 10:51:54 +0000 (11:51 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 12:57:55 +0000 (13:57 +0100)
commit427503519739e779c0db8afe876c1b33f3ac60ae
treeadb1c420287cb4a6fe1e84b098ef51eb61d964a0
parent8e4e0ac02b449297b86498ac24db5786ddd9f647
futex: Update comments and docs about return values of arch futex code

The architecture implementations of 'arch_futex_atomic_op_inuser()' and
'futex_atomic_cmpxchg_inatomic()' are permitted to return only -EFAULT,
-EAGAIN or -ENOSYS in the case of failure.

Update the comments in the asm-generic/ implementation and also a stray
reference in the robust futex documentation.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/robust-futexes.txt
include/asm-generic/futex.h