• Lars-Peter Clausen's avatar
    ASoC: xtfpga-i2s: Add missing __rcu annotation · d32e03f0
    Lars-Peter Clausen authored
    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: default avatarLars-Peter Clausen <lars@metafoo.de>
    Acked-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    d32e03f0
xtfpga-i2s.c 17.6 KB