[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2AC7D4AD8BA1C640B4C60C61C8E520153E3DEF6C26@EXDCVYMBSTM006.EQ1STM.local>
Date: Wed, 3 Aug 2011 16:07:18 +0200
From: Alexey ORISHKO <alexey.orishko@...ricsson.com>
To: Giuseppe Scrivano <giuseppe@...thpole.se>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"oliver@...kum.org" <oliver@...kum.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"gregkh@...e.de" <gregkh@...e.de>,
"alexey.orishko@...il.com" <alexey.orishko@...il.com>
Subject: RE: [PATCH ] cdc_ncm: fixes for big-endian architecture / MIPS
> From 8bd65735b4f0db5b6213f59a443c21d0d55dba8e Mon Sep 17 00:00:00 2001
> From: Giuseppe Scrivano <giuseppe@...thpole.se>
> Date: Fri, 15 Jul 2011 15:34:14 +0200
> Subject: [PATCH] cdc_ncm: fix endianess problem.
>
> Signed-off-by: Giuseppe Scrivano <giuseppe@...thpole.se>
> ---
> drivers/net/usb/cdc_ncm.c | 65 +++++++++++++++++++++++++-------------------
> -
> +struct cdc_ncm_request {
> + u8 bRequest;
> + u8 bmRequestType;
> + u16 wValue;
> + u16 wIndex;
> + u16 wLength;
> +} __packed;
Since it was incorrect to use struct usb_cdc_notification I would rather
remove cdc_ncm_do_request() function and provide u16 parameters directly to
usb_control_msg without creating yet additional structure for usb control request.
alexey
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists