U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] image-fdt: boot_get_fdt() return value when no DTB exists
Date: Wed, 22 Oct 2014 12:48:26 -0400	[thread overview]
Message-ID: <20141022164826.GA25506@bill-the-cat> (raw)
In-Reply-To: <1413987469-26139-1-git-send-email-noamc@ezchip.com>

On Wed, Oct 22, 2014 at 05:17:49PM +0300, Noam Camus wrote:

> From: Noam Camus <noamc@ezchip.com>
> 
> I believe that when no DTB is around we should return 1.
> This why I fixed such scenarious to not return zero anymore.
> Else kernel might get NULL pointer to DTB which doesn't exists.
> 
> Signed-off-by: Noam Camus <noamc@ezchip.com>

While this is probably OK and not an issue, my only "what if" is, what
about for appened device trees?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141022/3e09d660/attachment.pgp>

  reply	other threads:[~2014-10-22 16:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 14:17 [U-Boot] [PATCH] image-fdt: boot_get_fdt() return value when no DTB exists Noam Camus
2014-10-22 16:48 ` Tom Rini [this message]
2014-10-22 17:15   ` Alexey Brodkin
2014-10-22 17:33     ` Tom Rini
2014-11-10 21:26 ` [U-Boot] " Tom Rini
2014-12-03 18:21 ` Tom Rini

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=20141022164826.GA25506@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /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