linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Hugo Camboulive <hugo.camboulive@gmail.com>
Cc: gregkh@linuxfoundation.org, chaehyun.lim@gmail.com,
	christian.gromm@microchip.com, andrey.shvetsov@k2l.de,
	sudipm.mukherjee@gmail.com, joe@perches.com,
	shraddha.6596@gmail.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: most: add __iomem for io_base and registers
Date: Sat, 2 Jan 2016 20:33:23 +0000	[thread overview]
Message-ID: <20160102203322.GJ9938@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1451766621-3047-1-git-send-email-hugo.camboulive@gmail.com>

On Sat, Jan 02, 2016 at 08:30:21PM +0000, Hugo Camboulive wrote:
> This removes a few Sparse warnings.

> +	g.dim2 = (struct dim2_regs __iomem *)dim_base_address;

> -u8 dim_startup(void *dim_base_address, u32 mlb_clock);
> +u8 dim_startup(void __iomem *dim_base_address, u32 mlb_clock);

Umm...  Why not have it take struct dim2_regs __iomem * as argument, and
to hell with that cast?

  reply	other threads:[~2016-01-02 20:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-02 20:30 [PATCH] staging: most: add __iomem for io_base and registers Hugo Camboulive
2016-01-02 20:33 ` Al Viro [this message]
2016-01-02 21:59   ` Hugo Camboulive
2016-01-02 22:33   ` [PATCH v2] " Hugo Camboulive

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=20160102203322.GJ9938@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=andrey.shvetsov@k2l.de \
    --cc=chaehyun.lim@gmail.com \
    --cc=christian.gromm@microchip.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hugo.camboulive@gmail.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shraddha.6596@gmail.com \
    --cc=sudipm.mukherjee@gmail.com \
    /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).