Re: [PATCH 1/2 v2] usb: renesas_usbhs: Add Renesas USBHS common code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 04, 2011 at 01:44:59PM +0900, Kuninori Morimoto wrote:
> Renesas SuperH has USBHS IP which can switch Host / Function.
> This driver is designed so that Host / Function may dynamically change.
> This patch add usb/renesas_usbhs and common code for SuperH USBHS.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> ---
> v1 -> v2
> 
>  - some bugfix
>  - modify comment
> 
>  drivers/Makefile                   |    1 +
>  drivers/usb/Kconfig                |    2 +
>  drivers/usb/renesas_usbhs/Kconfig  |   15 +
>  drivers/usb/renesas_usbhs/Makefile |    7 +
>  drivers/usb/renesas_usbhs/common.c |  394 ++++++++++++++++
>  drivers/usb/renesas_usbhs/common.h |  225 +++++++++
>  drivers/usb/renesas_usbhs/mod.c    |  261 +++++++++++
>  drivers/usb/renesas_usbhs/mod.h    |  106 +++++
>  drivers/usb/renesas_usbhs/pipe.c   |  880 ++++++++++++++++++++++++++++++++++++
>  drivers/usb/renesas_usbhs/pipe.h   |  105 +++++
>  include/linux/usb/renesas_usbhs.h  |  149 ++++++
>  11 files changed, 2145 insertions(+), 0 deletions(-)

After applying this, and building, I get the following warnings:

drivers/usb/renesas_usbhs/pipe.c: In function âusbhsp_pipectrl_setâ:
drivers/usb/renesas_usbhs/pipe.c:81:15: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:81:15: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function âusbhsp_pipectrl_getâ:
drivers/usb/renesas_usbhs/pipe.c:92:15: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:92:15: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function âusbhsp_pipe_selectâ:
drivers/usb/renesas_usbhs/pipe.c:180:35: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:180:35: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function âusbhsp_fifo_selectâ:
drivers/usb/renesas_usbhs/pipe.c:350:13: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:350:13: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function âusbhsp_setup_pipebuffâ:
drivers/usb/renesas_usbhs/pipe.c:604:17: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:604:17: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c: In function âusbhs_pipe_mallocâ:
drivers/usb/renesas_usbhs/pipe.c:775:42: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:775:42: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:775:42: warning: format â%dâ expects type âintâ, but argument 3 has type âlong unsigned intâ
drivers/usb/renesas_usbhs/pipe.c:795:2: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:795:2: warning: cast from pointer to integer of different size
drivers/usb/renesas_usbhs/pipe.c:795:2: warning: format â%dâ expects type âintâ, but argument 4 has type âlong unsigned intâ

Can you send a follow-on patch to resolve these issues?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux