[PATCH] cmd: unzip: Use map_sysmem() with buffers in the gzwrite command

Marek Vasut marek.vasut at mailbox.org
Wed Jan 28 13:16:01 CET 2026


On 1/28/26 5:55 AM, Heinrich Schuchardt wrote:

Hello Heinrich,

>> @@ -75,7 +75,7 @@ static int do_gzwrite(struct cmd_tbl *cmdtp, int flag,
>> 		}
>> 	}
>>
>> -	ret = gzwrite(addr, length, bdev, writebuf, startoffs, szexpected);
>> +	ret = gzwrite(map_sysmem(addr, length), length, bdev, writebuf, startoffs, szexpected);
> 
> unmap_sysmem() seems to be missing here.
Will do, thanks.


More information about the U-Boot mailing list