Statistics
| Branch: | Revision:

root / hw / usb @ 0e0d2d62

Name Size
Makefile.objs 576 Bytes
bus.c 16.2 kB
combined-packet.c 6.4 kB
core.c 21.6 kB
desc.c 22.7 kB
desc.h 7.9 kB
dev-audio.c 22.8 kB
dev-bluetooth.c 17.1 kB
dev-hid.c 22.7 kB
dev-hub.c 17 kB
dev-network.c 43.6 kB
dev-serial.c 17.4 kB
dev-smartcard-reader.c 41.5 kB
dev-storage.c 20.2 kB
dev-uas.c 21.6 kB
dev-wacom.c 10.2 kB
hcd-ehci-pci.c 6.5 kB
hcd-ehci-sysbus.c 3 kB
hcd-ehci.c 73.2 kB
hcd-ehci.h 11.1 kB
hcd-musb.c 44 kB
hcd-ohci.c 55.2 kB
hcd-uhci.c 38.3 kB
hcd-xhci.c 92 kB
host-bsd.c 17.8 kB
host-linux.c 57.4 kB
host-stub.c 1.9 kB
libhw.c 2.3 kB
quirks-ftdi-ids.h 46.5 kB
quirks-pl2303-ids.h 4.1 kB
quirks.c 1.7 kB
quirks.h 48.9 kB
redirect.c 76.8 kB

Latest revisions

# Date Author Comment
84f2d0ea 01/17/2013 02:24 pm Wenchao Xia

HMP: add QDict to info callback handler

This patch change all info call back function to take
additional QDict * parameter, which allow those command
take parameter. Now it is set to NULL at default case.

Signed-off-by: Wenchao Xia <>...

a1cbfd55 01/16/2013 08:03 pm Markus Armbruster

usb-storage: Drop useless null test in usb_msd_handle_data()

scsi_req_new() never returns null, and scsi_req_enqueue() dereferences
the pointer, so checking for null is useless.

Spotted by Coverity.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

b55160c3 01/14/2013 06:27 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.76' into staging

  • kraxel/usb.76:
    usb-host: Initialize dev->port the obviously safe way
    usb-host: Drop superfluous null test from usb_host_auto_scan()
    ehci: Assert state machine is sane w.r.t. EHCIQueue
    xhci: nuke transfe5rs on detach...
cc8d2b65 01/14/2013 01:47 pm Markus Armbruster

ehci: Assert state machine is sane w.r.t. EHCIQueue

Coverity worries the EHCIQueue pointer could be null when we pass it
to functions that reference it. The state machine ensures it can't be
null then. Assert that, to hush the checker.

Signed-off-by: Markus Armbruster <>...

46635308 01/14/2013 01:47 pm Markus Armbruster

usb-host: Drop superfluous null test from usb_host_auto_scan()

Coverity points out that port is later passed to usb_host_open(),
which dereferences it. It actually can't be null: it always points to
usb_host_scan()'s auto port[]. Drop the superfluous port == NULL...

03607847 01/14/2013 01:47 pm Markus Armbruster

usb-host: Initialize dev->port the obviously safe way

Coverity worries the strcpy() could overrun the destination. It
can't, because the source always points to usb_host_scan()'s auto
port[], which has the same size. Use pstrcpy() anyway, to hush the
checker....

81251841 01/14/2013 09:59 am Gerd Hoffmann

xhci: create xhci_detach_slot helper function

Signed-off-by: Gerd Hoffmann <>

f3dcf638 01/14/2013 09:59 am Gerd Hoffmann

xhci: call xhci_detach_slot on root port detach too

Signed-off-by: Gerd Hoffmann <>

0cb41e2c 01/14/2013 09:59 am Gerd Hoffmann

xhci: nuke transfe5rs on detach

Signed-off-by: Gerd Hoffmann <>

afd347ab 01/12/2013 06:19 pm Paolo Bonzini

build: remove CONFIG_SMARTCARD

The passthru smartcard does not have the shared library dependency, build
it unconditionally.

Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom