[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150123095026.GA9314@hudson.localdomain>
Date: Fri, 23 Jan 2015 01:50:26 -0800
From: Jeremiah Mahler <jmmahler@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Dudley Du <dudl@...ress.com>, dmitry.torokhov@...il.com,
rydberg@...omail.se, bleung@...gle.com,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] input: cyapa: fix sparse warning issue of incorrect
type in assiggment
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 to add a "CF=-D__CHECK_ENDIAN__" to turn these on.
>
> make C=2 CF=-D__CHECK_ENDIAN__
>
> http://lwn.net/Articles/205624/
>
> regards,
> dan carpenter
>
Even with __CHECK_ENDIAN__ I wasn't able to reproduce these errors
straight away because this fix is already in next. But once reverted
they appeared and the patch does fix all of them.
jeri@...son:~/linux-next$ git checkout 2be7256fe7f
jeri@...son:~/linux-next$ git reset --hard HEAD~1
jeri@...son:~/linux-next$ make C=1 "CF=-D__CHECK_ENDIAN__"
(errors ...)
--
- Jeremiah Mahler
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists