[PATCH] kexec: fix mem_regions_sort()
rmk at armlinux.org.uk
Thu Jul 28 07:38:46 PDT 2016
On Wed, Jul 27, 2016 at 11:22:24PM +0530, Pratyush Anand wrote:
> Missed CCing Russell because of --suppress-cc :(
> CCing now.
> On Wed, Jul 27, 2016 at 11:19 PM, Pratyush Anand <panand at redhat.com> wrote:
> > ranges->ranges is "struct memory_range *", however each element which need
> > to be sorted is of type "struct memory_range". So, correct "size" argument
> > of qsort() as sizeof(*ranges->ranges).
Oops. Yes, obviously correct.
Acked-by: Russell King <rmk at armlinux.org.uk>
> > Signed-off-by: Pratyush Anand <panand at redhat.com>
> > Cc:Russell King <rmk at arm.linux.org.uk>
Please remove this Cc while adding my Acked-by. Thanks.
More information about the kexec