[PATCH] kexec: fix mem_regions_sort()

Pratyush Anand panand at redhat.com
Mon Aug 8 20:25:25 PDT 2016


Hi Simon,

This was a fixup which got missed in 2.0.13.
Anyway, it can be taken now.

Thanks

~Pratyush

On 29/07/2016:09:22:19 AM, Pratyush Anand wrote:
> 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