Re: [PATCH] i2c: ocores: Fix pointer to integer cast warning

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

 



On Tue, Feb 19, 2013 at 01:03:19PM +0530, Jayachandran C wrote:
> After commit a000b8c1 [i2c: ocores: Add support for the GRLIB port of the
> controller and use function pointers for getreg and setreg function],
> compiling i2c-ocores.c for 64-bit gives the following warning:
> 
>   drivers/i2c/busses/i2c-ocores.c: In function 'ocores_i2c_of_probe':
>   drivers/i2c/busses/i2c-ocores.c:334:15: warning: cast from pointer to integer of different size
> 
> Fix it by casting the pointer to long.
> 
> Signed-off-by: Jayachandran C <jchandra@xxxxxxxxxxxx>

Applied, thanks!

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


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux