From 0a1c8b65afc02c716ab54519f85715b490973f0d Mon Sep 17 00:00:00 2001 From: Shreeya Patel Date: Mon, 23 Mar 2020 02:47:42 +0530 Subject: [PATCH] alloc: Match alignment with open parenthesis Match alignment with open parenthesis to maintain the coding style. Reported by checkpatch.pl Signed-off-by: Shreeya Patel --- src/lib/alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/alloc.c b/src/lib/alloc.c index 2c0c00723..807afefa3 100644 --- a/src/lib/alloc.c +++ b/src/lib/alloc.c @@ -209,7 +209,7 @@ static void *align_ptr(struct mm_heap *heap, uint32_t alignment, /* allocate single block */ static void *alloc_block(struct mm_heap *heap, int level, - uint32_t caps, uint32_t alignment) + uint32_t caps, uint32_t alignment) { struct block_map *map = &heap->map[level]; struct block_hdr *hdr; @@ -247,7 +247,7 @@ static void *alloc_block(struct mm_heap *heap, int level, /* allocates continuous blocks */ static void *alloc_cont_blocks(struct mm_heap *heap, int level, - uint32_t caps, size_t bytes, uint32_t alignment) + uint32_t caps, size_t bytes, uint32_t alignment) { struct block_map *map = &heap->map[level]; struct block_hdr *hdr;