Re: [PATCH 1/3] net/usb/r815x: replace USB buffer from stack toDMA-able

From: David Miller
Date: Wed Jul 24 2013 - 20:50:00 EST


From: hayeswang <hayeswang@xxxxxxxxxxx>
Date: Tue, 23 Jul 2013 17:26:04 +0800

> diff --git a/drivers/net/usb/r815x.c b/drivers/net/usb/r815x.c
> index 8523922..e9b99ba 100644
> --- a/drivers/net/usb/r815x.c
> +++ b/drivers/net/usb/r815x.c
> @@ -24,34 +24,43 @@
>
> static int pla_read_word(struct usb_device *udev, u16 index)
> {
> - int data, ret;
> + int ret;
> u8 shift = index & 2;
> - __le32 ocp_data;
> + __le32 *tmp;

Your email client has corrupted these patches.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/