[Linux-stm32] 答复: Re: [PATCH] ASoC: stm32: sai: Fix unsigned comparison with less thanzero
wen.yang99 at zte.com.cn
wen.yang99 at zte.com.cn
Thu Nov 29 12:19:14 UTC 2018
Hi, Thank you for your review.
We checked it again and found that it had been fixed on the linux-next branch.
We will continue to test the linux-next branch.
Thank you.
Regards,
原始邮件
发件人:MarkBrown <broonie at kernel.org>
收件人:文洋10156314;
抄送人:olivier.moysan at st.com <olivier.moysan at st.com>arnaud.pouliquen at st.com <arnaud.pouliquen at st.com>tiwai at suse.com <tiwai at suse.com>mcoquelin.stm32 at gmail.com <mcoquelin.stm32 at gmail.com>linux-kernel at vger.kernel.org <linux-kernel at vger.kernel.org>钟卫东10001088;Liam Girdwood <lgirdwood at gmail.com>Jaroslav Kysela <perex at perex.cz>Alexandre Torgue <alexandre.torgue at st.com>Julia Lawall <julia.lawall at lip6.fr>Wen Yang <yellowriver2010 at hotmail.com>linux-stm32 at st-md-mailman.stormreply.com <linux-stm32 at st-md-mailman.stormreply.com>
日 期 :2018年11月29日 19:57
主 题 :Re: [PATCH] ASoC: stm32: sai: Fix unsigned comparison with less thanzero
On Thu, Nov 29, 2018 at 10:06:11AM +0800, Wen Yang wrote:
> The return from the call to stm32_sai_get_clk_div can be a negative error
> code however this is being assigned to an unsigned variable 'div'
> hence the check is always false. Fix this by making 'div' an
> int.
This doesn't apply against current code, please check and resend.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20181129/d823a10c/attachment.html>
More information about the Linux-stm32
mailing list