[PATCH] kexec: fix mem_regions_sort()

Simon Horman horms at verge.net.au
Thu Sep 29 00:47:43 PDT 2016


On Fri, Jul 29, 2016 at 09:22:19AM +0530, 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.

Sorry, I completely missed this until now.
Applied.




More information about the kexec mailing list