Re: [PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-10 Thread Lee Jones
> >>When used 64bit compiler GCC warns as > >>drivers/mfd/sec-core.c:199:10: warning: > >>cast from pointer to integer of different size [-Wpointer-to-int-cast] > >> > >>This patch fixes this by type-casting "match->data" into "long" before > >>converting into "int" > >> > >>Signed-off-by: Pankaj D

Re: [PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-10 Thread Pankaj Dubey
On 03/11/2014 12:07 AM, Lee Jones wrote: When used 64bit compiler GCC warns as drivers/mfd/sec-core.c:199:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This patch fixes this by type-casting "match->data" into "long" before converting into "int" Signed-off-b

Re: [PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-10 Thread Lee Jones
> When used 64bit compiler GCC warns as > drivers/mfd/sec-core.c:199:10: warning: > cast from pointer to integer of different size [-Wpointer-to-int-cast] > > This patch fixes this by type-casting "match->data" into "long" before > converting into "int" > > Signed-off-by: Pankaj Dubey > --- > d

[PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-05 Thread Pankaj Dubey
When used 64bit compiler GCC warns as drivers/mfd/sec-core.c:199:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] This patch fixes this by type-casting "match->data" into "long" before converting into "int" Signed-off-by: Pankaj Dubey --- drivers/mfd/sec-core.