Re: [PATCH 25/32] x86/boot/e820: Simplify append_e820_table() and remove restriction on single-entry tables

From: Andy Shevchenko
Date: Mon Jun 02 2025 - 08:57:21 EST


On Mon, Jun 02, 2025 at 03:50:24PM +0300, Nikolay Borisov wrote:
> On 5/15/25 15:05, Ingo Molnar wrote:

...

> How about doing this instead (on top of this patch):

> + for (int i = 0; i < nr_entries; i++) {

This would be nice when defined as u32.

> }

--
With Best Regards,
Andy Shevchenko