]> git.ipfire.org Git - thirdparty/qemu.git/commit
semihosting/uaccess: Briefly document returned values
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Jan 2025 16:02:31 +0000 (16:02 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 17 Jan 2025 10:43:48 +0000 (10:43 +0000)
commit23482ccd6bff4398643a90ca1c890f91f003e2c1
tree961a79a7661602ed91cb572d70296088b28ef568
parent552260aeae26edebb1d660dae1e0c76fa234364b
semihosting/uaccess: Briefly document returned values

Since it is not obvious the get/put_user*() methods
can return an error, add brief docstrings about it.
Also remind to use *unlock_user() when appropriate.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241212115413.42109-1-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250116160306.1709518-3-alex.bennee@linaro.org>
include/semihosting/uaccess.h