Re: [Qemu-devel] [PATCH] usb: ehci: add capability mmio write function

2016-01-29 Thread P J P
Hello Gerd, +-- On Fri, 29 Jan 2016, Gerd Hoffmann wrote --+ | On Fr, 2016-01-29 at 18:30 +0530, P J P wrote: | > pointer dereference issue. Add a do nothing 'ehci_caps_write' | > definition to avoid it; Do nothing because capability registers | > are Read Only(RO). | | Surely makes sense, xhc

Re: [Qemu-devel] [PATCH] usb: ehci: add capability mmio write function

2016-01-29 Thread Gerd Hoffmann
On Fr, 2016-01-29 at 18:30 +0530, P J P wrote: > From: Prasad J Pandit > > USB Ehci emulation supports host controller capability registers. > But its mmio '.write' function was missing, which lead to a null > pointer dereference issue. Add a do nothing 'ehci_caps_write' > definition to avoid it;

[Qemu-devel] [PATCH] usb: ehci: add capability mmio write function

2016-01-29 Thread P J P
From: Prasad J Pandit USB Ehci emulation supports host controller capability registers. But its mmio '.write' function was missing, which lead to a null pointer dereference issue. Add a do nothing 'ehci_caps_write' definition to avoid it; Do nothing because capability registers are Read Only(RO).