[PATCH] kexec: fix mem_regions_sort()

Pratyush Anand panand at redhat.com
Thu Jul 28 20:52:19 PDT 2016


Hi Simon,

Please take this fix for 2.0.13.

~Pratyush
On 28/07/2016:03:38:46 PM, Russell King wrote:
> 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.
> 
> -- 
> Russell King



More information about the kexec mailing list