[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/6] xhci: move sanity checks
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 6/6] xhci: move sanity checks |
Date: |
Thu, 5 Nov 2020 15:30:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
On 11/5/20 2:41 PM, Gerd Hoffmann wrote:
> The v variable goes negative for reg < 0x20. Reorder the code
> to first sanity check then calculate v and assign intr to make
> sanity checkers happy.
>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1902112
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> hw/usb/hcd-xhci.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- [PATCH 0/6] usb: fix some guest-triggerable asserts, Gerd Hoffmann, 2020/11/05
- [PATCH 2/6] usb-storage: add commandlog property, Gerd Hoffmann, 2020/11/05
- [PATCH 1/6] usb-storage: switch trace events, Gerd Hoffmann, 2020/11/05
- [PATCH 4/6] usb-storage: fill csw on cancel, Gerd Hoffmann, 2020/11/05
- [PATCH 6/6] xhci: move sanity checks, Gerd Hoffmann, 2020/11/05
- Re: [PATCH 6/6] xhci: move sanity checks,
Philippe Mathieu-Daudé <=
- [PATCH 3/6] usb-storage: use bool for removable property, Gerd Hoffmann, 2020/11/05
- [PATCH 5/6] xhci: fix guest triggerable assert, Gerd Hoffmann, 2020/11/05