staging: usbip: replaced pointer arithmetic, and strongly type function return.
authorBart Westgeest <bart@elbrys.com>
Wed, 10 Oct 2012 17:34:25 +0000 (13:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:36:28 +0000 (13:36 -0700)
commit36ac9b055fa49b9a0097ec8dfd59c5ffc812a60d
tree47896166c0dad2f629069ab2005dc36d69c16ff9
parenta297ad936ebd6d22b59bbed7d77caa6ff045caa6
staging: usbip: replaced pointer arithmetic, and strongly type function return.

Replaced pointer arithmetic by using array indexing, and changed
function return type for usbip_alloc_iso_desc_pdu from 'void*' to
'struct usbip_iso_packet_descriptor'.

Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/stub_tx.c
drivers/staging/usbip/usbip_common.c
drivers/staging/usbip/usbip_common.h
drivers/staging/usbip/vhci_tx.c