[PATCH v2 0/2] hw/usb/hcd-ehci: Fix Coverity CID 1685236 and check DMA errors
Jamin Lin <[email protected]>
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <[email protected]> |
v1:
1. Fix Fix Coverity CID 1685236
v2:
1. Drops the dead NULL test and checks the actual accesses instead, and makes put_dwords() return void
since no caller can act on a failed writeback.
Jamin Lin (2):
hw/usb/hcd-ehci: Handle get_dwords() failures in async writeback
hw/usb/hcd-ehci: Check for DMA errors in get_dwords()/put_dwords()
hw/usb/hcd-ehci.c | 48 +++++++++++++++++++++--------------------------
1 file changed, 21 insertions(+), 27 deletions(-)
--
2.53.0