Re: [PATCH staging-next] goldfish: pipe: fix warnings for 32bit builds

2014-05-16 Thread Alan Cox
On Fri, 2014-05-16 at 08:24 +0300, Octavian Purdila wrote: > drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status': > drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer > to integer of different size [-Wpointer-to-int-cast] >

Re: [PATCH staging-next] goldfish: pipe: fix warnings for 32bit builds

2014-05-16 Thread Alan Cox
On Fri, 2014-05-16 at 08:24 +0300, Octavian Purdila wrote: drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status': drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

[PATCH staging-next] goldfish: pipe: fix warnings for 32bit builds

2014-05-15 Thread Octavian Purdila
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status': drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writel((u32)(u64)pipe, dev->base + PIPE_REG_CHANNEL); ^

[PATCH staging-next] goldfish: pipe: fix warnings for 32bit builds

2014-05-15 Thread Octavian Purdila
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status': drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writel((u32)(u64)pipe, dev-base + PIPE_REG_CHANNEL); ^