Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-17 Thread gre...@linuxfoundation.org
On Tue, Mar 17, 2015 at 03:37:42AM +, Peter Chen wrote: > > > > > Greetings All, > > I have been getting the below build warnings: > > drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: > > drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to > > integer

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-17 Thread gre...@linuxfoundation.org
On Tue, Mar 17, 2015 at 03:37:42AM +, Peter Chen wrote: Greetings All, I have been getting the below build warnings: drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to integer of different

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Tue, Mar 17, 2015 at 12:10:41AM -0400, nick wrote: > > > On 2015-03-16 11:56 PM, nick wrote: > > > > > > On 2015-03-16 11:54 PM, Felipe Balbi wrote: > >> On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: > >>> > >>> > >>> On 2015-03-16 11:37 PM, Peter Chen wrote: > > > >

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:56:26PM -0400, nick wrote: > > > On 2015-03-16 11:54 PM, Felipe Balbi wrote: > > On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: > >> > >> > >> On 2015-03-16 11:37 PM, Peter Chen wrote: > >>> > > Greetings All, > I have been getting the below

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: > > > On 2015-03-16 11:37 PM, Peter Chen wrote: > > > >> > >> Greetings All, > >> I have been getting the below build warnings: > >> drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: > >>

RE: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Peter Chen
> > Greetings All, > I have been getting the below build warnings: > drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: > drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to > integer of different size [-Wpointer-to-int-cast] > dparam->type = of_id ?

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: On 2015-03-16 11:37 PM, Peter Chen wrote: Greetings All, I have been getting the below build warnings: drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: drivers/usb/renesas_usbhs/common.c:482:25: warning: cast

RE: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Peter Chen
Greetings All, I have been getting the below build warnings: drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dparam-type = of_id ? (u32)of_id-data

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Tue, Mar 17, 2015 at 12:10:41AM -0400, nick wrote: On 2015-03-16 11:56 PM, nick wrote: On 2015-03-16 11:54 PM, Felipe Balbi wrote: On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: On 2015-03-16 11:37 PM, Peter Chen wrote: Greetings All, I have been getting

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:56:26PM -0400, nick wrote: On 2015-03-16 11:54 PM, Felipe Balbi wrote: On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: On 2015-03-16 11:37 PM, Peter Chen wrote: Greetings All, I have been getting the below build warnings: