[PATCH v3 0/3] 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.

v3:
 1. Make get_dwords() return bool

Jamin Lin (3):
  hw/usb/hcd-ehci: Check for DMA errors in get_dwords()/put_dwords()
  hw/usb/hcd-ehci: Make get_dwords() return bool
  hw/usb/hcd-ehci: Handle get_dwords() failures in async writeback

 hw/usb/hcd-ehci.c | 90 ++++++++++++++++++++++-------------------------
 1 file changed, 42 insertions(+), 48 deletions(-)

-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.