lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 11 Jul 2016 09:31:25 +0800 From: Garlic Tseng <garlic.tseng@...iatek.com> To: <weiyj_lk@....com> CC: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>, Matthias Brugger <matthias.bgg@...il.com>, Wei Yongjun <yongjun_wei@...ndmicro.com.cn>, <linux-mediatek@...ts.infradead.org>, <alsa-devel@...a-project.org>, <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org> Subject: Re: [alsa-devel] [PATCH -next v2] ASoC: mediatek: mt2701: fix non static symbol warning On Fri, 2016-07-08 at 13:47 +0000, weiyj_lk@....com wrote: > From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn> > > Fixes the following sparse warning: > > sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:72:5: warning: > symbol 'mt2701_dai_num_to_i2s' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn> Acked-by: Garlic Tseng <garlic.tseng@...iatek.com> > --- > sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c > index 15522c0..34a6123 100644 > --- a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c > +++ b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c > @@ -69,7 +69,7 @@ static const struct mt2701_afe_rate mt2701_afe_i2s_rates[] = { > { .rate = 352800, .regvalue = 24 }, > }; > > -int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) > +static int mt2701_dai_num_to_i2s(struct mtk_base_afe *afe, int num) > { > int val = num - MT2701_IO_I2S; > > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@...a-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Powered by blists - more mailing lists