devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Bykowski <marek.bykowski@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] of/fdt: Don't calculate phys_initrd_size from DT if start < end
Date: Fri, 9 Sep 2022 01:56:31 +0000	[thread overview]
Message-ID: <20220909015631.385b0781@ubuntu.armcompdev.pub.tds.tieto.com> (raw)
In-Reply-To: <20220908160519.58041-1-marek.bykowski@gmail.com>

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


      reply	other threads:[~2022-09-09  1:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 16:05 [PATCH v2] of/fdt: Don't calculate phys_initrd_size from DT if start < end Marek Bykowski
2022-09-09  1:56 ` Marek Bykowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220909015631.385b0781@ubuntu.armcompdev.pub.tds.tieto.com \
    --to=marek.bykowski@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).