mm/mempool: Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
7bd7daa659
commit
27afd0e5e3
@ -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,
|
||||
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 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)
|
||||
struct mempool_procfs_entry_s
|
||||
|
@ -50,7 +50,7 @@ struct mpool_dict_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 expandsize; /* The number not will use it to init erery
|
||||
* pool expandsize
|
||||
@ -86,7 +86,7 @@ struct mempool_multiple_s
|
||||
* 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)
|
||||
{
|
||||
size_t right;
|
||||
|
Loading…
Reference in New Issue
Block a user