[PATCH v2] ASoC: amd: Fix an ignored error return from platform_get_irq_byname()

Mark Brown broonie at kernel.org
Mon Mar 7 14:14:31 CET 2022


On Fri, Mar 04, 2022 at 08:45:43AM +0800, Yang Li wrote:
> The return from the call to platform_get_irq_byname() is int, it can be
> a negative error code, however this is being assigned to an unsigned
> int variable 'adata->i2s_irq', so assign the value to 'ret' concurrently
> to solve this problem without affecting other functions.

This doesn't apply against current code, please check and resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220307/d7d4d571/attachment.sig>


More information about the Alsa-devel mailing list