qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/scsi/megasas: Simplify using the ldst API


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] hw/scsi/megasas: Simplify using the ldst API
Date: Sat, 18 Dec 2021 12:15:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 12/18/21 01:36, Richard Henderson wrote:
> On 12/17/21 3:15 PM, Philippe Mathieu-Daudé wrote:
>> -    cdb[3] = (len >> 8) & 0xff;
>> -    cdb[4] = (len & 0xff);
>> +    stw_be_p(&cdb[2], len);
> 
> Wrong offset.  Otherwise,

>_<

> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Thank you.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]