qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 01/17] pci: fix unaligned access in pci_xxx_q


From: Dmitry Fleytman
Subject: Re: [Qemu-devel] [PATCH v6 01/17] pci: fix unaligned access in pci_xxx_quad()
Date: Mon, 30 May 2016 18:22:35 +0300

> On 30 May 2016, at 18:19 PM, Michael S. Tsirkin <address@hidden> wrote:
> 
> On Mon, May 30, 2016 at 06:14:56PM +0300, Dmitry Fleytman wrote:
>>    Does DSN generation function pass unaligned offsets?
>>    It does not look like it does…
>> 
>> 
>> It does according to clang sanitiser.
> 
> 
> Oh so it's a clang false positive?

I think not.
The capability itself is 8-bytes aligned but 64-bit serial number inside of it 
is not because of 32 bit header in front of it.

> 
> -- 
> MST




reply via email to

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