summaryrefslogtreecommitdiff
path: root/include/bloblist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bloblist.h')
-rw-r--r--include/bloblist.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/bloblist.h b/include/bloblist.h
index cc78259e5a9..0ae079d62aa 100644
--- a/include/bloblist.h
+++ b/include/bloblist.h
@@ -426,11 +426,11 @@ const char *bloblist_tag_name(enum bloblist_tag_t tag);
* bloblist_reloc() - Relocate the bloblist and optionally resize it
*
* @to: Pointer to new bloblist location (must not overlap old location)
- * @to_size: New size for bloblist (must be larger than from_size)
- * @from: Pointer to bloblist to relocate
- * @from_size: Size of bloblist to relocate
+ * @to_size: New size for bloblist
+ * Return: 0 if OK, -ENOSPC if the new size is small than the bloblist total
+ * size.
*/
-void bloblist_reloc(void *to, uint to_size, void *from, uint from_size);
+int bloblist_reloc(void *to, uint to_size);
/**
* bloblist_init() - Init the bloblist system with a single bloblist