summaryrefslogtreecommitdiff
path: root/include/bloblist.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-01-27 18:49:51 +0300
committerSimon Glass <sjg@chromium.org>2020-02-06 05:33:46 +0300
commit02247c1887312e5b4b367e4fb12122381b1424bc (patch)
tree36af6009f6a51e4d0c68a74ac3b613aa75323513 /include/bloblist.h
parent5b044548f5ae3e5f7cfbd4a6399f0695b4fb709b (diff)
downloadu-boot-02247c1887312e5b4b367e4fb12122381b1424bc.tar.xz
bloblist: Tidy up a few comments and code-style nits
Add a messing error code to bloblist_new() and tidy up the line length in bloblist_addrec(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bloblist.h')
-rw-r--r--include/bloblist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bloblist.h b/include/bloblist.h
index 8c9ce98a3b..609ac421d6 100644
--- a/include/bloblist.h
+++ b/include/bloblist.h
@@ -183,7 +183,8 @@ int bloblist_new(ulong addr, uint size, uint flags);
* @return 0 if OK, -ENOENT if the magic number doesn't match (indicating that
* there problem is no bloblist at the given address), -EPROTONOSUPPORT
* if the version does not match, -EIO if the checksum does not match,
- * -EFBIG if the expected size does not match the detected size
+ * -EFBIG if the expected size does not match the detected size, -ENOSPC
+ * if the size is not large enough to hold the headers
*/
int bloblist_check(ulong addr, uint size);