LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: julie Sullivan <kernelmail.jms@gmail.com>
To: Dave Hylands <dhylands@gmail.com>
Cc: Sri Ram Vemulpali <sri.ram.gmu06@gmail.com>,
	Kernel-newbies <kernelnewbies@nl.linux.org>,
	linux-kernel-mail <linux-kernel@vger.kernel.org>
Subject: Re: typecheck code
Date: Mon, 31 Jan 2011 21:42:47 +0000	[thread overview]
Message-ID: <AANLkTi==JWuwP23xCHgMXZefVAw_kPzQmh1nRqcot0eM@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimgTCdJfyKcyrpM-VgWtNCFonu2rvca+pkc+ebh@mail.gmail.com>

>If dummy and dummy2 are of different types, then when you try and do a
>pointer comparison (&dummy == &dummy2) it will produce a compiler
>warning/error.

O--ooohhh...
I came across this ages ago when I was trying to unravel the jiffies
wraparound macros and I've been scratching my head ever since trying
to figure out what this line _really_  did. A bit arcane, isn't it?
Thanks a lot Dave and everyone for explaining.

Cheers
Julie

      reply	other threads:[~2011-01-31 21:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 17:03 Sri Ram Vemulpali
2011-01-31 17:20 ` Jamie Iles
2011-01-31 17:22 ` Geert Uytterhoeven
2011-01-31 17:44 ` Rajat Sharma
2011-01-31 18:03 ` Manish Katiyar
2011-01-31 20:23   ` Sri Ram Vemulpali
2011-01-31 20:26 ` Dave Hylands
2011-01-31 21:42   ` julie Sullivan [this message]

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='AANLkTi==JWuwP23xCHgMXZefVAw_kPzQmh1nRqcot0eM@mail.gmail.com' \
    --to=kernelmail.jms@gmail.com \
    --cc=dhylands@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sri.ram.gmu06@gmail.com \
    --subject='Re: typecheck code' \
    /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

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).