summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-09-27 17:43:08 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-09-28 16:12:04 +0000
commit5899b0d2b94d821ed18e272ab1c595583348eb29 (patch)
tree31f9eddeb91e0aad39bda1f6a4644bd283573d17
parente30695dbe196ea42864ad03af799706eaae11f02 (diff)
include/memrange.h: Remove trailing semicolon
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Ia0c4fd6d20c92caea379ef02e020ab9294ed0ffe Reviewed-on: https://review.coreboot.org/c/coreboot/+/67910 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
-rw-r--r--src/include/memrange.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/memrange.h b/src/include/memrange.h
index f7c5bfce1e..35e97608e6 100644
--- a/src/include/memrange.h
+++ b/src/include/memrange.h
@@ -100,13 +100,13 @@ void memranges_init_with_alignment(struct memranges *ranges,
/* Initialize memranges structure providing an optional array of range_entry
* to use as the free list. Addresses are default aligned to 4KiB(2^12). */
#define memranges_init_empty(__ranges, __free, __num_free) \
- memranges_init_empty_with_alignment(__ranges, __free, __num_free, 12);
+ memranges_init_empty_with_alignment(__ranges, __free, __num_free, 12)
/* Initialize and fill a memranges structure according to the
* mask and match type for all memory resources. Tag each entry with the
* specified type. Addresses are default aligned to 4KiB(2^12). */
#define memranges_init(__ranges, __mask, __match, __tag) \
- memranges_init_with_alignment(__ranges, __mask, __match, __tag, 12);
+ memranges_init_with_alignment(__ranges, __mask, __match, __tag, 12)
/* Clone a memrange. The new memrange has the same entries as the old one. */
void memranges_clone(struct memranges *newranges, struct memranges *oldranges);