[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxc/arm: remove useless conditional in meminit



On Wed, Mar 14, 2018 at 10:58 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> The variable named ramsize is always non-zero at that point because
> there is a check for zero a few lines before.

But this is a loop, and ramsize is modified during the loop.  if
bankmax[i] > ramsize, then banksize is set to ramsize, and the loop
should terminate next time around.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.