]> Git Repo - qemu.git/commit
usb: handle dev == NULL in usb_handle_packet()
authorGerd Hoffmann <[email protected]>
Tue, 10 Jan 2012 16:33:02 +0000 (17:33 +0100)
committerGerd Hoffmann <[email protected]>
Fri, 10 Feb 2012 10:31:57 +0000 (11:31 +0100)
commit98861f512bbd8789bd7935a75316d3278be23a0a
treea5f798a6742f9df2f2e158f7446e77a6a0fbbd96
parent06c750888c57bdc374feaa097f6cbc720210b834
usb: handle dev == NULL in usb_handle_packet()

Allow passing in a NULL pointer, return USB_RET_NODEV in that case.
Removes the burden to to a NULL pointer check from the callers.

Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb.c
This page took 0.028023 seconds and 4 git commands to generate.