Re: [PATCH] phy: ralink: fix 64-bit build warning

2017-08-24 Thread Kishon Vijay Abraham I
Greg, On Thursday 24 August 2017 05:00 AM, Greg Kroah-Hartman wrote: > On Wed, Aug 23, 2017 at 07:50:46PM +0530, Kishon Vijay Abraham I wrote: >> Greg, >> >> On Wednesday 23 August 2017 07:09 PM, Arnd Bergmann wrote: >>> Casting between an 'int' and a pointer causes a warning on >>> 64-bit archite

[PATCH] phy: ralink: fix 64-bit build warning

2017-08-24 Thread Kishon Vijay Abraham I
From: Arnd Bergmann Casting between an 'int' and a pointer causes a warning on 64-bit architectures in compile-testing this driver: drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from pointer to integer of differen

Re: [PATCH] phy: ralink: fix 64-bit build warning

2017-08-23 Thread Greg Kroah-Hartman
On Wed, Aug 23, 2017 at 07:50:46PM +0530, Kishon Vijay Abraham I wrote: > Greg, > > On Wednesday 23 August 2017 07:09 PM, Arnd Bergmann wrote: > > Casting between an 'int' and a pointer causes a warning on > > 64-bit architectures in compile-testing this driver: > > > > drivers/phy/ralink/phy-ral

Re: [PATCH] phy: ralink: fix 64-bit build warning

2017-08-23 Thread Kishon Vijay Abraham I
Greg, On Wednesday 23 August 2017 07:09 PM, Arnd Bergmann wrote: > Casting between an 'int' and a pointer causes a warning on > 64-bit architectures in compile-testing this driver: > > drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': > drivers/phy/ralink/phy-ralink-usb.c:1

Re: [PATCH] phy: ralink: fix 64-bit build warning

2017-08-23 Thread Harvey Hunt
Hi Arnd, On 23/08/17 14:39, Arnd Bergmann wrote: Casting between an 'int' and a pointer causes a warning on 64-bit architectures in compile-testing this driver: drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from

Re: [PATCH] phy: ralink: fix 64-bit build warning

2017-08-23 Thread Kishon Vijay Abraham I
On Wednesday 23 August 2017 07:09 PM, Arnd Bergmann wrote: > Casting between an 'int' and a pointer causes a warning on > 64-bit architectures in compile-testing this driver: > > drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': > drivers/phy/ralink/phy-ralink-usb.c:195:13

Re: [PATCH] phy: ralink: fix 64-bit build warning

2017-08-23 Thread John Crispin
On 23/08/17 15:39, Arnd Bergmann wrote: Casting between an 'int' and a pointer causes a warning on 64-bit architectures in compile-testing this driver: drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from pointer

[PATCH] phy: ralink: fix 64-bit build warning

2017-08-23 Thread Arnd Bergmann
Casting between an 'int' and a pointer causes a warning on 64-bit architectures in compile-testing this driver: drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe': drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from pointer to integer of different size [-Werror=point