From 829478a680d5dab854efc8afd62cb6e6209f8d4a Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Fri, 3 Jan 2025 12:58:01 +0000 Subject: [PATCH] zephyr: stroage: flash_map: Fix parameter order Two functions have parameters in the wrong order in the function description, fix them to the correct order Signed-off-by: Jamie McCrae --- include/zephyr/storage/flash_map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/zephyr/storage/flash_map.h b/include/zephyr/storage/flash_map.h index c3ec00972d7ae5d..a0d528acfb78d9b 100644 --- a/include/zephyr/storage/flash_map.h +++ b/include/zephyr/storage/flash_map.h @@ -242,9 +242,9 @@ uint32_t flash_area_align(const struct flash_area *fa); * Retrieve info about sectors within the area. * * @param[in] fa_id Given flash area ID - * @param[out] sectors buffer for sectors data * @param[in,out] count On input Capacity of @p sectors, on output number of * sectors Retrieved. + * @param[out] sectors buffer for sectors data * * @return 0 on success, negative errno code on fail. Especially returns * -ENOMEM if There are too many flash pages on the flash_area to fit in the @@ -257,9 +257,9 @@ int flash_area_get_sectors(int fa_id, uint32_t *count, * Retrieve info about sectors within the area. * * @param[in] fa pointer to flash area object. - * @param[out] sectors buffer for sectors data * @param[in,out] count On input Capacity of @p sectors, on output number of * sectors retrieved. + * @param[out] sectors buffer for sectors data * * @return 0 on success, negative errno code on fail. Especially returns * -ENOMEM if There are too many flash pages on the flash_area to fit in the