mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: John Bowler <jbowler@acm.org>
Cc: "'Deepak Saxena'" <dsaxena@plexity.net>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.6.14 include/asm-arm/arch-ixp4xx/io.h: eliminate warning for pointer passed to integral function argument
Date: Fri, 28 Oct 2005 08:57:21 +0100	[thread overview]
Message-ID: <20051028075721.GF5044@flint.arm.linux.org.uk> (raw)
In-Reply-To: <001001c5db87$85a55500$1001a8c0@kalmiopsis>

On Thu, Oct 27, 2005 at 11:19:14PM -0700, John Bowler wrote:
> Fix for a compiler warning, this wasn't apparent in 2.6.12, I
> believe the compiler options have been changed (somewhere) so
> that passing a (void*) to a (u32) argument is now warned.

readb/writeb and friends take a "void __iomem *".  You should
arrange the __ixp4xx versions to take that.

> This accounts for the majority of the warnings in my builds of
> the 2.6.14 kernel for NSLU2.

If you want to see why, grab sparse and build your kernel with C=1.

PS, please do not copy both linux-kernel and linux-arm-kernel.  It's
bad taste to send a message to an open mailing list and a members only
list.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

  reply	other threads:[~2005-10-28  7:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-28  6:19 John Bowler
2005-10-28  7:57 ` Russell King [this message]
2005-10-31  1:49   ` John Bowler

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=20051028075721.GF5044@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=dsaxena@plexity.net \
    --cc=jbowler@acm.org \
    --cc=linux-kernel@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

Powered by JetHome