From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 09/10] OMAP2/3: Convert write/read functions to raw read/write
Date: Thu, 7 Oct 2010 19:56:30 +0100 [thread overview]
Message-ID: <20101007185630.GA26435@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <7A436F7769CA33409C6B44B358BFFF0C014F74831E@dlee02.ent.ti.com>
On Thu, Oct 07, 2010 at 07:17:08AM -0500, Menon, Nishanth wrote:
>
> > -----Original Message-----
> > From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-
> > owner at vger.kernel.org] On Behalf Of G, Manjunath Kondaiah
> > Sent: Tuesday, September 21, 2010 5:01 AM
> > To: linux-omap at vger.kernel.org
> > Cc: linux-arm-kernel at lists.infradead.org; linux-mtd at lists.infradead.org
> > Subject: [PATCH v2 09/10] OMAP2/3: Convert write/read functions to raw
> > read/write
> >
> > Following sparse warnings exists due to use of writel/w and readl/w
> > functions.
> >
> > This patch fixes the sparse warnings by converting readl/w functions usage
> > into
> > __raw_readl/__raw_readw functions.
>
> Apologies on bringing up an old topic here -> Is'nt it better to fix
> readl/w or writel/w than replacing it with __raw_readl/w etc?
No. If you're getting sparse warnings its because _you_ are using
readl/writel wrongly.
They take a void __iomem pointer, not a u32, unsigned long, int, or
even a void pointer.
next prev parent reply other threads:[~2010-10-07 18:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1285063280-4057-1-git-send-email-manjugk@ti.com>
[not found] ` <1285063280-4057-8-git-send-email-manjugk@ti.com>
2010-09-27 11:07 ` [PATCH v2 07/10] TWL CORE: Fix sparse warning Samuel Ortiz
[not found] ` <1285063280-4057-9-git-send-email-manjugk@ti.com>
2010-09-27 11:16 ` [PATCH v2 08/10] TWL IRQ: Fix fucntion declaration warnings Samuel Ortiz
2010-09-27 13:10 ` G, Manjunath Kondaiah
2010-09-27 13:49 ` G, Manjunath Kondaiah
2010-09-27 14:46 ` Samuel Ortiz
[not found] ` <1285063280-4057-4-git-send-email-manjugk@ti.com>
2010-09-29 21:35 ` [PATCH v2 03/10] OMAP: mach-omap2: Fix static function warnings Paul Walmsley
2010-09-29 23:49 ` G, Manjunath Kondaiah
[not found] ` <1285063280-4057-10-git-send-email-manjugk@ti.com>
2010-10-07 12:17 ` [PATCH v2 09/10] OMAP2/3: Convert write/read functions to raw read/write Menon, Nishanth
2010-10-07 18:56 ` Russell King - ARM Linux [this message]
2010-10-07 19:50 ` Nishanth Menon
2010-10-25 0:01 ` David Woodhouse
2010-10-25 5:34 ` G, Manjunath Kondaiah
2010-10-25 10:11 ` David Woodhouse
2010-10-25 7:54 ` Artem Bityutskiy
2010-10-07 17:39 ` Vimal Singh
[not found] ` <1285063280-4057-2-git-send-email-manjugk@ti.com>
2010-10-08 20:12 ` [PATCH v2 01/10] OMAP: mach-omap2: Fix incorrect assignment warnings Kevin Hilman
2010-10-11 3:51 ` G, Manjunath Kondaiah
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=20101007185630.GA26435@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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).