Re: [PATCH] regulator: fan53555: fix wrong cast in probe

2014-09-17 Thread Mark Brown
On Wed, Sep 17, 2014 at 01:21:48PM +0200, Heiko Stübner wrote: > The vendor-id gathered from the dt match-data was cast to int but assigned > to an unsigned long, producing warnings on at least sparc, like Applied, thanks. signature.asc Description: Digital signature

[PATCH] regulator: fan53555: fix wrong cast in probe

2014-09-17 Thread Heiko Stübner
The vendor-id gathered from the dt match-data was cast to int but assigned to an unsigned long, producing warnings on at least sparc, like drivers/regulator/fan53555.c: In function 'fan53555_regulator_probe': >> drivers/regulator/fan53555.c:373:16: warning: cast from pointer to integer >> of

[PATCH] regulator: fan53555: fix wrong cast in probe

2014-09-17 Thread Heiko Stübner
The vendor-id gathered from the dt match-data was cast to int but assigned to an unsigned long, producing warnings on at least sparc, like drivers/regulator/fan53555.c: In function 'fan53555_regulator_probe': drivers/regulator/fan53555.c:373:16: warning: cast from pointer to integer of

Re: [PATCH] regulator: fan53555: fix wrong cast in probe

2014-09-17 Thread Mark Brown
On Wed, Sep 17, 2014 at 01:21:48PM +0200, Heiko Stübner wrote: The vendor-id gathered from the dt match-data was cast to int but assigned to an unsigned long, producing warnings on at least sparc, like Applied, thanks. signature.asc Description: Digital signature