diff options
author | Bandan Das | 2018-05-03 21:20:28 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2018-05-07 11:10:25 +0200 |
commit | 2392ae6bbb0a940a4fd6df29e704b09cadc14790 (patch) | |
tree | 99d43ff4fb288ba21adf7f3bd08961ed89d86e62 /hw/usb/tusb6010.c | |
parent | usb-mtp: Add some NULL checks for issues pointed out by coverity (diff) | |
download | qemu-2392ae6bbb0a940a4fd6df29e704b09cadc14790.tar.gz qemu-2392ae6bbb0a940a4fd6df29e704b09cadc14790.tar.xz qemu-2392ae6bbb0a940a4fd6df29e704b09cadc14790.zip |
usb-mtp: Unconditionally check for the readonly bit
Currently, it's only being checked if desc is NULL and
so write support breaks upon specifying desc
Signed-off-by: Bandan Das <bsd@redhat.com>
Message-id: 20180503192028.14353-3-bsd@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/tusb6010.c')
0 files changed, 0 insertions, 0 deletions