|
@@ -53,8 +53,8 @@ static void efi_free_all_buff_pages(struct capsule_info *cap_info)
|
|
|
* @kbuff: a mapped first page buffer pointer
|
|
|
* @hdr_bytes: the total received number of bytes for efi header
|
|
|
**/
|
|
|
-static ssize_t efi_capsule_setup_info(struct capsule_info *cap_info,
|
|
|
- void *kbuff, size_t hdr_bytes)
|
|
|
+static int efi_capsule_setup_info(struct capsule_info *cap_info,
|
|
|
+ void *kbuff, size_t hdr_bytes)
|
|
|
{
|
|
|
efi_capsule_header_t *cap_hdr;
|
|
|
size_t pages_needed;
|