]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/usbip/stub_tx.c
staging: usbip: replaced pointer arithmetic, and strongly type function return.
[~andy/linux] / drivers / staging / usbip / stub_tx.c
index 023fda305be292a89be270b146da9321d43eeba8..1c37b5d888bc8845feb64220aa95b5bb2811b450 100644 (file)
@@ -166,7 +166,7 @@ static int stub_send_ret_submit(struct stub_device *sdev)
                int ret;
                struct urb *urb = priv->urb;
                struct usbip_header pdu_header;
-               void *iso_buffer = NULL;
+               struct usbip_iso_packet_descriptor *iso_buffer = NULL;
                struct kvec *iov = NULL;
                int iovnum = 0;