diff mbox series

[RFC,2/2] efi_memory: refine overlap_only_ram description

Message ID 20200828194741.7497-2-maxim.uvarov@linaro.org
State Accepted
Commit ffbeafe7e29fe179e2168b82f9c19b8e57293040
Headers show
Series [RFC,1/2] efi: arm: do not overlap non ram memory on efi allocation | expand

Commit Message

Maxim Uvarov Aug. 28, 2020, 7:47 p.m. UTC
Refine text for overlap_only_ram description to
match to what exactly flag does and aling description
with other functions.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
 lib/efi_loader/efi_memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Heinrich Schuchardt Sept. 15, 2020, 12:48 p.m. UTC | #1
On 28.08.20 21:47, Maxim Uvarov wrote:
> Refine text for overlap_only_ram description to

> match to what exactly flag does and aling description

> with other functions.

>

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>


Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>


> ---

>  lib/efi_loader/efi_memory.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c

> index 637c6c67ed..6dbe9ba756 100644

> --- a/lib/efi_loader/efi_memory.c

> +++ b/lib/efi_loader/efi_memory.c

> @@ -235,7 +235,7 @@ static s64 efi_mem_carve_out(struct efi_mem_list *map,

>   * @start:		start address, must be a multiple of EFI_PAGE_SIZE

>   * @pages:		number of pages to add

>   * @memory_type:	type of memory added

> - * @overlap_only_ram:	the memory area must overlap existing

> + * @overlap_only_ram:	region may only overlap RAM

>   * Return:		status code

>   */

>  static efi_status_t efi_add_memory_map_pg(u64 start, u64 pages,

>
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
index 637c6c67ed..6dbe9ba756 100644
--- a/lib/efi_loader/efi_memory.c
+++ b/lib/efi_loader/efi_memory.c
@@ -235,7 +235,7 @@  static s64 efi_mem_carve_out(struct efi_mem_list *map,
  * @start:		start address, must be a multiple of EFI_PAGE_SIZE
  * @pages:		number of pages to add
  * @memory_type:	type of memory added
- * @overlap_only_ram:	the memory area must overlap existing
+ * @overlap_only_ram:	region may only overlap RAM
  * Return:		status code
  */
 static efi_status_t efi_add_memory_map_pg(u64 start, u64 pages,