summaryrefslogtreecommitdiff
path: root/src/commonlib/storage/bouncebuf.h
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:22:07 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-22 13:47:15 +0000
commit995dfefdf06310064db71bcad2aa7e5b0cd92fec (patch)
tree3abd2381b6064a9a0a580737530134fe33ef8e9d /src/commonlib/storage/bouncebuf.h
parent2ba796eb231b375c5b37a118c3418dfa80e95cde (diff)
src/commonlib: Remove unnecessary space after casts
Change-Id: Ib20f02cc9e5be0efea8bc29fce6bd148adf28ead Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69817 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/commonlib/storage/bouncebuf.h')
-rw-r--r--src/commonlib/storage/bouncebuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/storage/bouncebuf.h b/src/commonlib/storage/bouncebuf.h
index 9e3ab746b5..fce3fbd2ec 100644
--- a/src/commonlib/storage/bouncebuf.h
+++ b/src/commonlib/storage/bouncebuf.h
@@ -76,7 +76,7 @@ int bounce_buffer_stop(struct bounce_buffer *state);
#define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \
char __##name[ROUND(size * sizeof(type), DMA_MINALIGN) + \
DMA_MINALIGN - 1]; \
- type *name = (type *) ALIGN_UP((uintptr_t)__##name, DMA_MINALIGN)
+ type *name = (type *)ALIGN_UP((uintptr_t)__##name, DMA_MINALIGN)
#ifndef ARCH_DMA_MINALIGN
#define ARCH_DMA_MINALIGN (DMA_MINALIGN)
#endif