[PATCH v2 3/3] kho: fix bootmem sizing

Mike Rapoport rppt at kernel.org
Thu Nov 5 01:26:10 PST 2026


On Wed, Nov 04, 2026 at 01:57:03PM -0500, Pasha Tatashin wrote:
> > -
> > -	return round_up(size, BOOTMEM_ALIGNMENT_BYTES);
> > +	for_each_node_state(nid, N_MEMORY)
> > +		bootmem_size_node[nid] = round_up(bootmem_size_node[nid],
> > +						  BOOTMEM_ALIGNMENT_BYTES);
> 
> Nit, but I prefer to avoid multi-line indented statements without 
> braces. Just put a braces around the above.

Yep, I'll fix it up while applying.
 
> Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>
> 
> -- 
> Pasha
> 

-- 
Sincerely yours,
Mike.



More information about the kexec mailing list