summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-09-02 14:13:57 -0600
committerTom Rini <trini@konsulko.com>2024-09-02 14:13:57 -0600
commit8c069df8dd727bf78426aaa4604750ab93732f04 (patch)
tree17ac5bea9d7200864aec9a5f531caed0a3e4e3ec /include
parentf0ec3e608902ca1f573e5b7017da6bc804483f55 (diff)
parent1312faac5f52d27cfb45dfe1a5a93a2944ca5c21 (diff)
Merge tag 'v2024.10-rc4' into next
Prepare v2024.10-rc4
Diffstat (limited to 'include')
-rw-r--r--include/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index dd4042d1bd9..2ab17075287 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1858,7 +1858,7 @@ int android_image_get_kernel(const void *hdr,
* @vendor_boot_img : Pointer to vendor boot image header
* @rd_data: Pointer to a ulong variable, will hold ramdisk address
* @rd_len: Pointer to a ulong variable, will hold ramdisk length
- * Return: 0 if succeeded, -1 if ramdisk size is 0
+ * Return: 0 if OK, -ENOPKG if no ramdisk, -EINVAL if invalid image
*/
int android_image_get_ramdisk(const void *hdr, const void *vendor_boot_img,
ulong *rd_data, ulong *rd_len);