linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Josh Triplett <josh@joshtriplett.org>
Cc: Chris Forbes <chrisf@ijw.co.nz>, linux-sparse@vger.kernel.org
Subject: Re: [RFC PATCH 0/2] check for identical exprs on LHS and RHS of '&&'
Date: Wed, 10 Aug 2011 18:46:15 +0100	[thread overview]
Message-ID: <20110810174615.GO2203@ZenIV.linux.org.uk> (raw)
In-Reply-To: <20110810174423.GA6677@leaf>

On Wed, Aug 10, 2011 at 10:44:23AM -0700, Josh Triplett wrote:

> How about checking for the same expression multiple times in a single
> block of | or & expressions?  (flag1 | flag2 | flag2) seems like a
> likely copy/paste error.

... or result of macro expansion.

  reply	other threads:[~2011-08-10 17:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10  9:07 [RFC PATCH 0/2] check for identical exprs on LHS and RHS of '&&' Chris Forbes
2011-08-10  9:07 ` [PATCH 1/2] add test case for identical exprs on LHS and RHS of '&&' operator Chris Forbes
2011-08-10  9:07 ` [PATCH 2/2] initial work on check for identical exprs on both sides of '&&'; needs more Chris Forbes
2011-08-10 17:44 ` [RFC PATCH 0/2] check for identical exprs on LHS and RHS of '&&' Josh Triplett
2011-08-10 17:46   ` Al Viro [this message]
2011-08-12 19:34     ` Dan Carpenter
2011-08-12 19:16 ` Christopher Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110810174615.GO2203@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=chrisf@ijw.co.nz \
    --cc=josh@joshtriplett.org \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).