Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-23 Thread Jeremiah Mahler
Dudley, On Thu, Jan 22, 2015 at 09:57:42AM +, Dudley Du wrote: > > -Original Message- > > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > > Sent: 2015?1?22? 17:31 > > To: Dudley Du [...] > > > struct gen5_bl_metadata_row_params { > > > __le16 size; > > > -__le16 maximun_size; >

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-23 Thread Jeremiah Mahler
On Thu, Jan 22, 2015 at 12:54:53PM +0300, Dan Carpenter wrote: > On Thu, Jan 22, 2015 at 01:31:29AM -0800, Jeremiah Mahler wrote: > > I wasn't able to reproduce the sparse warning. Was it for a specific > > architecture? Perhaps include a link to the email sent by the kbuild > > test robot. > >

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-23 Thread Jeremiah Mahler
On Thu, Jan 22, 2015 at 12:54:53PM +0300, Dan Carpenter wrote: On Thu, Jan 22, 2015 at 01:31:29AM -0800, Jeremiah Mahler wrote: I wasn't able to reproduce the sparse warning. Was it for a specific architecture? Perhaps include a link to the email sent by the kbuild test robot. You need

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-23 Thread Jeremiah Mahler
Dudley, On Thu, Jan 22, 2015 at 09:57:42AM +, Dudley Du wrote: -Original Message- From: Jeremiah Mahler [mailto:jmmah...@gmail.com] Sent: 2015?1?22? 17:31 To: Dudley Du [...] struct gen5_bl_metadata_row_params { __le16 size; -__le16 maximun_size; +__le16

RE: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dudley Du
Subject: Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect > type in > assiggment > > On Thu, Jan 22, 2015 at 01:31:29AM -0800, Jeremiah Mahler wrote: > > I wasn't able to reproduce the sparse warning. Was it for a specific > > architecture? Perhaps i

RE: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dudley Du
nel.org > Subject: Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect > type in > assiggment > > Dudley, > > Mis-spelled 'assiggment' in Subject line. Thanks for spotting it. > > On Thu, Jan 22, 2015 at 02:50:05PM +0800, Dudley Du wrote: > >

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dan Carpenter
On Thu, Jan 22, 2015 at 01:31:29AM -0800, Jeremiah Mahler wrote: > I wasn't able to reproduce the sparse warning. Was it for a specific > architecture? Perhaps include a link to the email sent by the kbuild > test robot. You need to add a "CF=-D__CHECK_ENDIAN__" to turn these on. make C=2

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Jeremiah Mahler
Dudley, Mis-spelled 'assiggment' in Subject line. On Thu, Jan 22, 2015 at 02:50:05PM +0800, Dudley Du wrote: > Fixes the sparse warning issue of the incorrect type in assignment which > found by the kbuild test robot. > I wasn't able to reproduce the sparse warning. Was it for a specific

RE: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dudley Du
/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment Dudley, Mis-spelled 'assiggment' in Subject line. Thanks for spotting it. On Thu, Jan 22, 2015 at 02:50:05PM +0800, Dudley Du wrote: Fixes the sparse warning issue of the incorrect type in assignment which

RE: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dudley Du
] input: cyapa: fix sparse warning issue of incorrect type in assiggment On Thu, Jan 22, 2015 at 01:31:29AM -0800, Jeremiah Mahler wrote: I wasn't able to reproduce the sparse warning. Was it for a specific architecture? Perhaps include a link to the email sent by the kbuild test robot. You

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Jeremiah Mahler
Dudley, Mis-spelled 'assiggment' in Subject line. On Thu, Jan 22, 2015 at 02:50:05PM +0800, Dudley Du wrote: Fixes the sparse warning issue of the incorrect type in assignment which found by the kbuild test robot. I wasn't able to reproduce the sparse warning. Was it for a specific

Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect type in assiggment

2015-01-22 Thread Dan Carpenter
On Thu, Jan 22, 2015 at 01:31:29AM -0800, Jeremiah Mahler wrote: I wasn't able to reproduce the sparse warning. Was it for a specific architecture? Perhaps include a link to the email sent by the kbuild test robot. You need to add a CF=-D__CHECK_ENDIAN__ to turn these on. make C=2