Re: [PATCH] ASoC: stm32: sai: Fix unsigned comparison with less than zero

From: Mark Brown
Date: Thu Nov 29 2018 - 06:56:36 EST


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.

Attachment: signature.asc
Description: PGP signature