[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] lsi53c895a: avoid integer undefined behavio
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/2] lsi53c895a: avoid integer undefined behaviours |
Date: |
Mon, 26 Aug 2013 09:49:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 23/08/2013 18:16, Peter Maydell ha scritto:
> More patches to fix clang sanitizer warnings; in this case we
> can fix them and clean up the code a bit by replacing hand-coded
> operations with functions from the bitops header.
>
> Peter Maydell (2):
> hw/scsi/lsi53c895a: Use sextract32 for sign-extension
> hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask
>
> hw/scsi/lsi53c895a.c | 19 ++++++-------------
> 1 file changed, 6 insertions(+), 13 deletions(-)
>
Applied both to scsi-next, thanks.
Paolo