mm/mempool: Fix the minor style issue

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-23 02:52:28 +08:00 committed by Petro Karashchenko
parent 7bd7daa659
commit 27afd0e5e3
2 changed files with 9 additions and 9 deletions

View File

@ -44,10 +44,10 @@ typedef CODE FAR void *(*mempool_alloc_t)(FAR struct mempool_s *pool,
typedef CODE void (*mempool_free_t)(FAR struct mempool_s *pool, typedef CODE void (*mempool_free_t)(FAR struct mempool_s *pool,
FAR void *addr); FAR void *addr);
typedef CODE FAR void *(*mempool_multiple_alloc_t)(FAR void *args, typedef CODE FAR void *(*mempool_multiple_alloc_t)(FAR void *arg,
size_t alignment, size_t alignment,
size_t size); size_t size);
typedef CODE void (*mempool_multiple_free_t)(FAR void *args, FAR void *addr); typedef CODE void (*mempool_multiple_free_t)(FAR void *arg, FAR void *addr);
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MEMPOOL) #if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MEMPOOL)
struct mempool_procfs_entry_s struct mempool_procfs_entry_s

View File

@ -50,7 +50,7 @@ struct mpool_dict_s
struct mempool_multiple_s struct mempool_multiple_s
{ {
FAR struct mempool_s * pools; /* The memory pool array */ FAR struct mempool_s *pools; /* The memory pool array */
size_t npools; /* The number of memory pool array elements */ size_t npools; /* The number of memory pool array elements */
size_t expandsize; /* The number not will use it to init erery size_t expandsize; /* The number not will use it to init erery
* pool expandsize * pool expandsize
@ -86,7 +86,7 @@ struct mempool_multiple_s
* Private Functions * Private Functions
****************************************************************************/ ****************************************************************************/
static inline struct mempool_s * static inline FAR struct mempool_s *
mempool_multiple_find(FAR struct mempool_multiple_s *mpool, size_t size) mempool_multiple_find(FAR struct mempool_multiple_s *mpool, size_t size)
{ {
size_t right; size_t right;