public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Andreas Schwab <schwab@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bitops cleanup 2/4
Date: Thu, 4 Apr 2002 12:02:09 +1000	[thread overview]
Message-ID: <20020404120209.4bfd92d0.rusty@rustcorp.com.au> (raw)
In-Reply-To: <jeit79dk3b.fsf@sykes.suse.de>

On Wed, 03 Apr 2002 14:48:08 +0200
Andreas Schwab <schwab@suse.de> wrote:

> gcc is correct.  "&array" and "array" are different.  While they represent
> the same address, the types are not compatible.  Eg. for "int array[5]"
> the type of "array" is "int [5]" (decaying to "int *" in most contexts),
> but the type of "&array" is "int (*)[5]" (pointer to array of 5 ints).

Ah, of course.  Thankyou the clue contribution.  I should have thought
harder in the first place.

(To the audience) Patch, of course, is still correct..
Rusty.
-- 
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

      reply	other threads:[~2002-04-04  3:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-03  3:18 [PATCH] bitops cleanup 2/4 Rusty Russell
2002-04-03 12:48 ` Andreas Schwab
2002-04-04  2:02   ` Rusty Russell [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=20020404120209.4bfd92d0.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwab@suse.de \
    /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