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

From: Marek Bykowski
Date: Thu Sep 08 2022 - 21:56:43 EST


On Thu, 8 Sep 2022 16:05:19 +0000
Marek Bykowski <marek.bykowski@xxxxxxxxx> 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