Re: WARNING: Unnecessary parentheses - maybe == should be = ?

From: Dan Carpenter
Date: Wed Feb 26 2014 - 04:30:20 EST


On Mon, Feb 10, 2014 at 01:59:56PM -0800, Joe Perches wrote:
> On Mon, 2014-02-10 at 23:24 +0300, Dan Carpenter wrote:
> > On Mon, Feb 10, 2014 at 09:19:46AM -0800, Joe Perches wrote:
> > > On Mon, 2014-02-10 at 12:27 +0300, Dan Carpenter wrote:
> > > > We do not want to encourage a million
> > > > first patch submitters to start introducing = vs == bugs.
> > > Definitely true and I didn't think of that.
> > So long as we can re-phrase it then I don't have a problem with the
> > warning.
>
> Do you have a suggested phrasing?
>

Unnecessary parentheses - this is C not LISP dummy.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/