[alsa-devel] [patch] ASoC: Intel: do cast earlier in sst_cdev_tstamp()

Mark Brown broonie at kernel.org
Thu Apr 9 12:00:54 CEST 2015


On Thu, Apr 09, 2015 at 12:02:39PM +0300, Dan Carpenter wrote:

> My static checker complains about these because it looks like the
> multiply can overflow and then we cast to a larger data type.  I don't
> think this is a problem, but it's also harmless to do the cast earlier
> so let's silence the static checker warning.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150409/15ff392c/attachment.sig>


More information about the Alsa-devel mailing list