]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: Update functions which write to an FDT to return -ENOSPC
authorSimon Glass <sjg@chromium.org>
Tue, 3 Jun 2014 04:04:51 +0000 (22:04 -0600)
committerTom Rini <trini@ti.com>
Wed, 11 Jun 2014 20:25:46 +0000 (16:25 -0400)
commit4f427a421fcba92b0325907fe79464c9791e85d5
tree6b13739c671ea04f0e4e6a5f1f811aca1ecb8e08
parent63b4b5bae52e48528876e13e858ef934ac2e4a3b
fdt: Update functions which write to an FDT to return -ENOSPC

When writing values into an FDT it is possible that there will be
insufficient space. If the caller gets a useful error then it can
potentially deal with the situation.

Adjust these functions to return -ENOSPC when the FDT is full.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/image-fit.c
include/rsa.h
lib/rsa/rsa-sign.c