Re: [PATCH v2] of/fdt: Don't calculate phys_initrd_size from DT if start < end

Marek Bykowski
2022-09-09T01:56:43Z

On Thu, 8 Sep 2022 16:05:19 +0000
Marek Bykowski <marek.bykowski@gmail.com> wrote:

> If the properties 'linux,initrd-start' and 'linux,initrd-end' of
> the chosen node populated from the bootloader, eg. U-Boot, are so that
> start < end, then the phys_initrd_size calculated as subtraction of
> end from start is negative that subsequently gets converted to a high
> positive value for being unsigned long long.
>

Apology Rob, I confused the description saying that it is wrong that
start < end. The patch was correct though. I'll send the third version
fixing that shortly.

Marek