On Tue, Apr 22, 2014 at 10:04:58PM -0500, Eric Sandeen wrote:
> On 4/22/14, 7:00 PM, Dave Chinner wrote:
> > On Wed, Apr 23, 2014 at 09:46:28AM +1000, Dave Chinner wrote:
> >> On Tue, Apr 22, 2014 at 08:00:55PM +0800, Jeff Liu wrote:
> >>> On 04/22 2014 14:59 PM, Dave Chinner wrote:
> >>>> + /* remote value might be different size to the buffer supplied.
> >>>> */
> >>>> + if (args->rmtvaluelen = args->valuelen)
> >>> ^^^
> >>> Here is a typo...
> >> Oh, well spotted.
> >> But, hold on a minute, shouldn't gcc be catching those sorts of
> >> typos?
> > Time to add ccflags-y += -Werror to the makefile....
> Probably only under a couple specific arches...? How are we for i.e.
> stupid printf format warnings about long vs. longlong on 32/64 arches...?
> Or maybe you can -Werror, -Wno$FOO?
Personally, if other arches are throwing warnings that we don't know
about, they need to be fixed. The only way I'll get to know about
them is to have somebody else's build break, because nobody is
reporting warnings to us right now....