]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: xtfpga-i2s: Add missing __rcu annotation
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 27 Jul 2015 08:56:28 +0000 (10:56 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jul 2015 14:07:54 +0000 (15:07 +0100)
commitda29953256caf9cec94628d3e610d222b1372f4f
treecf4068d8c9ab57fe85c582b712ee8c96ab58205f
parenteebb12e86b8de218e5ab55c75bde6747e07187db
ASoC: xtfpga-i2s: Add missing __rcu annotation

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@metafoo.de>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xtensa/xtfpga-i2s.c