All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaud Pouliquen <arnaud.pouliquen@st.com>
To: Lars-Peter Clausen <lars@metafoo.de>,
	Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Banajit Goswami <bgoswami@codeaurora.org>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Patrick Lai <plai@codeaurora.org>,
	"patches@opensource.wolfsonmicro.com"
	<patches@opensource.wolfsonmicro.com>,
	Max Filippov <jcmvbkbc@gmail.com>,
	Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 4/6] ASoC: uniperf: Add missing __iomem annotation
Date: Tue, 28 Jul 2015 09:41:16 +0200	[thread overview]
Message-ID: <55B7321C.1070705@st.com> (raw)
In-Reply-To: <1437987388-9706-5-git-send-email-lars@metafoo.de>

Hi

On 07/27/2015 10:56 AM, Lars-Peter Clausen wrote:
> base referes to a iomem region, so it should have the __iomem annotation.
> Fixes the following warnings from sparse:
>
> 	sound/soc/sti/sti_uniperif.c:169:19: warning: incorrect type in
> 		assignment (different address spaces)
> 	sound/soc/sti/sti_uniperif.c:169:19:    expected void *base
> 	sound/soc/sti/sti_uniperif.c:169:19:    got void [noderef] <asn:2>*
> 	sound/soc/sti/uniperif_player.c:104:18: warning: incorrect type in
> 		argument 1 (different address spaces)
> 	sound/soc/sti/uniperif_player.c:104:18:    expected void const volatile
> 		[noderef] <asn:2>*addr
> 	sound/soc/sti/uniperif_player.c:104:18:    got void *
> 	[...]
>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---
>   sound/soc/sti/uniperif.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/sti/uniperif.h b/sound/soc/sti/uniperif.h
> index ee462f7..f0fd5a9 100644
> --- a/sound/soc/sti/uniperif.h
> +++ b/sound/soc/sti/uniperif.h
> @@ -1168,7 +1168,7 @@ struct uniperif {
>
>   	/* Resources */
>   	struct resource *mem_region;
> -	void *base;
> +	void __iomem *base;
>   	unsigned long fifo_phys_address;
>   	int irq;
>
>
Thanks for the patch,
  acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>

Br,
Arnaud

  reply	other threads:[~2015-07-28  7:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27  8:56 [PATCH 0/6] ASoC: Fix sparse warnings Lars-Peter Clausen
2015-07-27  8:56 ` [PATCH 1/6] ASoC: wm8804: Drop dublicate const Lars-Peter Clausen
2015-07-27 19:53   ` Charles Keepax
2015-07-29 14:13   ` Applied "ASoC: wm8804: Drop duplicate const" to the asoc tree Mark Brown
2015-07-27  8:56 ` [PATCH 2/6] ASoC: lpass-ipq806x: Staticise local symbols Lars-Peter Clausen
2015-07-28 12:01   ` Srinivas Kandagatla
2015-07-29 14:13   ` Applied "ASoC: lpass-ipq806x: Staticise local symbols" to the asoc tree Mark Brown
2015-07-27  8:56 ` [PATCH 3/6] ASoC: rcar ctu: Staticise local symbols Lars-Peter Clausen
2015-07-27 23:36   ` Kuninori Morimoto
2015-07-29 14:13   ` Applied "ASoC: rcar ctu: Staticise local symbols" to the asoc tree Mark Brown
2015-07-27  8:56 ` [PATCH 4/6] ASoC: uniperf: Add missing __iomem annotation Lars-Peter Clausen
2015-07-28  7:41   ` Arnaud Pouliquen [this message]
2015-07-29 14:13   ` Applied "ASoC: uniperf: Add missing __iomem annotation" to the asoc tree Mark Brown
2015-07-27  8:56 ` [PATCH 5/6] ASoC: uniperf: Staticise local symbols Lars-Peter Clausen
2015-07-28  7:49   ` Arnaud Pouliquen
2015-07-29 14:13   ` Applied "ASoC: uniperf: Staticise local symbols" to the asoc tree Mark Brown
2015-07-27  8:56 ` [PATCH 6/6] ASoC: xtfpga-i2s: Add missing __rcu annotation Lars-Peter Clausen
2015-07-28 10:48   ` Max Filippov
2015-07-29 14:13   ` Applied "ASoC: xtfpga-i2s: Add missing __rcu annotation" to the asoc tree Mark Brown

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=55B7321C.1070705@st.com \
    --to=arnaud.pouliquen@st.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bgoswami@codeaurora.org \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=jcmvbkbc@gmail.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=plai@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.