netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: adobriyan@gmail.com, dlstevens@us.ibm.com,
	carlsonj@workingcode.com, linux-ppp@vger.kernel.org,
	netdev@vger.kernel.org, netdev-owner@vger.kernel.org,
	viro@ftp.linux.org.uk
Subject: Re: [PATCH] ppp: don't use 0 in pointer context
Date: Wed, 08 Feb 2006 15:58:59 -0800 (PST)	[thread overview]
Message-ID: <20060208.155859.82670094.davem@davemloft.net> (raw)
In-Reply-To: <E1F6z45-0006qL-00@gondolin.me.apana.org.au>

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu, 09 Feb 2006 10:49:37 +1100

> The difference between gcc -pedantic and sparse is that it doesn't
> warn about obviously correct cases like p != 0 or p = 0.

So obviously correct that you left out an equals sign in the
second case :-)

  reply	other threads:[~2006-02-08 23:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 22:28 [PATCH] ppp: don't use 0 in pointer context Alexey Dobriyan
2006-02-08 22:14 ` James Carlson
2006-02-08 22:19   ` Herbert Xu
2006-02-08 22:45     ` David Stevens
2006-02-08 22:47       ` David S. Miller
2006-02-08 22:51         ` Paul Mackerras
2006-02-08 23:00         ` Rick Jones
2006-02-08 23:08         ` Herbert Xu
2006-02-08 23:22       ` Alexey Dobriyan
2006-02-08 23:26         ` Paul Mackerras
2006-02-08 23:49         ` Herbert Xu
2006-02-08 23:58           ` David S. Miller [this message]
2006-02-09  0:05             ` Randy.Dunlap
2006-02-09  0:06             ` Herbert Xu
2006-02-08 22:23   ` Roland Dreier
2006-02-08 22:44   ` Paul Mackerras
2006-02-09 13:15     ` James Carlson

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=20060208.155859.82670094.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=adobriyan@gmail.com \
    --cc=carlsonj@workingcode.com \
    --cc=dlstevens@us.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-ppp@vger.kernel.org \
    --cc=netdev-owner@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=viro@ftp.linux.org.uk \
    /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).