From 8211bde9c2a2cf80b82573df6122ca4dd3c764cf Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 6 May 2020 13:20:13 -0700 Subject: memrange: Update comment to indicate limit is inclusive for memranges_next_entry This change updates the comment for memranges_next_entry() to indicate that the limit provided by the caller is inclusive. Change-Id: Id40263efcb9417ed31c130996e56c30dbbc82e02 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/41103 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/memrange.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/memrange.h b/src/include/memrange.h index deb8c1e5de..83e3826f2c 100644 --- a/src/include/memrange.h +++ b/src/include/memrange.h @@ -162,7 +162,7 @@ struct range_entry *memranges_next_entry(struct memranges *ranges, const struct range_entry *r); /* Steals memory from the available list in given ranges as per the constraints: - * limit = Upper bound for the memory range to steal. + * limit = Upper bound for the memory range to steal (Inclusive). * size = Requested size for the stolen memory. * align = Required alignment(log 2) for the starting address of the stolen memory. * tag = Use a range that matches the given tag. -- cgit v1.2.3