From 2aa6b81b646e4e7e638277d13414271da95ca38b Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Wed, 24 Jul 2024 13:23:31 +0100 Subject: [PATCH] retention: Fix documentation issue Fixes a minor issue with the return value in the documentation Signed-off-by: Jamie McCrae --- include/zephyr/retention/blinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zephyr/retention/blinfo.h b/include/zephyr/retention/blinfo.h index 78cd12459bc..02766129da3 100644 --- a/include/zephyr/retention/blinfo.h +++ b/include/zephyr/retention/blinfo.h @@ -41,7 +41,7 @@ extern "C" { * @param val Where the return information will be placed. * @param val_len_max The maximum size of the provided buffer. * - * @retval 0 If successful. + * @retval >= 0 If successful (contains length of read value) * @retval -EOVERFLOW If the data is too large to fit the supplied buffer. * @retval -EIO If the requested key was not found. * @retval -errno Error code.