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

2014-03-11 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

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

2014-03-11 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 pankaj.du...@samsung.com

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"

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 > --- >

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 pankaj.du...@samsung.com

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-by:

[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 ---

[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 pankaj.du...@samsung.com ---