Usb 20170717 patches
The following changes since commit 6e2c46334385c7e295ac883c801c81b4925fb54f:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170711' into staging (2017-07-13 10:47:10 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/usb-20170717-pull-request
for you to fetch changes up to 2a7f2630684ee556a394a354d64159a4470c0151:
ehci: add sanity check for maxframes (2017-07-17 11:39:08 +0200)
----------------------------------------------------------------
ehci fix for 2.10
----------------------------------------------------------------
Gerd Hoffmann (1):
ehci: add sanity check for maxframes
hw/usb/hcd-ehci.c | 5 +++++ 1 file changed, 5 insertions(+)
Signature · 1 line
2.9.3
[Qemu-devel] [PULL 1/1] ehci: add sanity check for maxframes
Message-id: [email protected]
--- hw/usb/hcd-ehci.c | 5 +++++ 1 file changed, 5 insertions(+)
hw/usb/hcd-ehci.c +5 -0
@@ -2483,6 +2483,11 @@ void usb_ehci_realize(EHCIState *s, DeviceState *dev, Error **errp) NB_PORTS);return ; } +if (s->maxframes <8 || s->maxframes >512 ) { +error_setg (errp,"maxframes %d out if range (8 .. 512)" , + s->maxframes); +return ; + }usb_bus_new (&s->bus,sizeof (s->bus), s->companion_enable ? &ehci_bus_ops_companion : &ehci_bus_ops_standalone, dev);
Signature · 1 line
2.9.3
Peter Maydell
AppliedQuoted 15 lines · Gerd Hoffmann
The following changes since commit
6e2c46334385c7e295ac883c801c81b4925fb54f:Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20170711' into staging (2017-07-13 10:47:10 +0100)
are available in the git repository at:
git://git.kraxel.org/qemutags/usb-20170717-pull-requestfor you to fetch changes up to
2a7f2630684ee556a394a354d64159a4470c0151:ehci: add sanity check for maxframes (2017-07-17 11:39:08 +0200)
----------------------------------------------------------------
ehci fix for 2.10
Quoted 7 lines
----------------------------------------------------------------
Gerd Hoffmann (1):
ehci: add sanity check for maxframeshw/usb/hcd-ehci.c | 5 +++++ 1 file changed, 5 insertions(+)
Applied, thanks.
-- PMM