[PATCH] Remove "max" parameter comment

Pratyush Anand panand at redhat.com
Thu Jun 9 10:06:24 PDT 2016


On 09/06/2016:05:18:08 PM, Russell King wrote:
> Remove the "max" parameter in the documentation for mem_regions_add()
> 
> Signed-off-by: Russell King <rmk at armlinux.org.uk>
Reviewed-by: Pratyush Anand <panand at redhat.com> 
> ---
>  kexec/mem_regions.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/kexec/mem_regions.c b/kexec/mem_regions.c
> index b01a5c89..e61c0747 100644
> --- a/kexec/mem_regions.c
> +++ b/kexec/mem_regions.c
> @@ -31,7 +31,6 @@ void mem_regions_sort(struct memory_ranges *ranges)
>  /**
>   * mem_regions_add() - add a memory region to a set of ranges
>   * @ranges: ranges to add the memory region to
> - * @max: maximum number of entries in memory region
>   * @base: base address of memory region
>   * @length: length of memory region in bytes
>   * @type: type of memory region
> -- 
> 1.9.1



More information about the kexec mailing list