[PATCH] kexec: Remove the unnecessary conditional judgement to simplify the code logic

Simon Horman horms at verge.net.au
Mon Jul 27 21:30:19 PDT 2015

On Mon, Jul 27, 2015 at 09:44:53AM -0400, Vivek Goyal wrote:
> On Sat, Jun 06, 2015 at 02:14:12PM +0800, Minfei Huang wrote:
> > From: Minfei Huang <mnfhuang at gmail.com>
> > 
> > Transforming PFN(Page Frame Number) to struct page is never failure, so
> > we can simplify the code logic to do the image->control_page assignment
> > directly in the loop, and remove the unnecessary conditional judgement.
> > 
> > Signed-off-by: Minfei Huang <mnfhuang at gmail.com>
> Looks good to me.
> Acked-by: Vivek Goyal <vgoyal at redhat.com>

FWIW, this probably needs to be reposted to Andrew Morton with appropriate
Acks and CCs in order to proceed into his tree and then Linus's.

More information about the kexec mailing list