[alsa-devel] [PATCH 6/6] ASoC: xtfpga-i2s: Add missing __rcu annotation
Max Filippov
jcmvbkbc at gmail.com
Tue Jul 28 12:48:47 CEST 2015
On Mon, Jul 27, 2015 at 11:56 AM, Lars-Peter Clausen <lars at metafoo.de> wrote:
> tx_substeam is accessed using the RCU API and hence should have the __rcu
> annotation. Fixes the following sparse warnings:
>
> sound/soc/xtensa/xtfpga-i2s.c:165:24: error: incompatible types in
> comparison expression (different address spaces)
> sound/soc/xtensa/xtfpga-i2s.c:165:24: error: 'struct snd_pcm_substream
> [noderef] <asn:4>*' versus
> sound/soc/xtensa/xtfpga-i2s.c:165:24: error: 'struct snd_pcm_substream *'
> sound/soc/xtensa/xtfpga-i2s.c:255:24: error: incompatible types in
> comparison expression (different address spaces)
> sound/soc/xtensa/xtfpga-i2s.c:255:24: error: 'struct snd_pcm_substream
> [noderef] <asn:4>*' versus
> sound/soc/xtensa/xtfpga-i2s.c:255:24: error: 'struct snd_pcm_substream *'
>
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> ---
> sound/soc/xtensa/xtfpga-i2s.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you for the fix, Lars-Peter.
Acked-by: Max Filippov <jcmvbkbc at gmail.com>
--
Thanks.
-- Max
More information about the Alsa-devel
mailing list