Skip to content

{bp-19307} drivers/audio/i2s: Fix unsigned integers in function signatures#19340

Merged
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19307
Jul 6, 2026
Merged

{bp-19307} drivers/audio/i2s: Fix unsigned integers in function signatures#19340
xiaoxiang781216 merged 1 commit into
apache:releases/13.0from
jerpelea:bp-19307

Conversation

@jerpelea

@jerpelea jerpelea commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

All I2S driver operation functions say in their signature description that negative errno values are returned on failure. However, some of these same functions had uint32_t return types. This would result in incorrect comparison of the return value against signed error code values.

Impact

RELEASE

Testing

CI

All I2S driver operation functions say in their signature description
that negative errno values are returned on failure. However, some of
these same functions had `uint32_t` return types. This would result in
incorrect comparison of the return value against signed error code
values.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
@github-actions github-actions Bot added Arch: arm Issues related to ARM (32-bit) architecture Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Arch: xtensa Issues related to the Xtensa architecture Size: M The size of the change in this PR is medium Area: Audio labels Jul 6, 2026
@jerpelea

jerpelea commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

@cederom ping

@xiaoxiang781216 xiaoxiang781216 merged commit 7ea7d29 into apache:releases/13.0 Jul 6, 2026
41 checks passed
@jerpelea jerpelea deleted the bp-19307 branch July 6, 2026 11:59
@cederom

cederom commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Uhm, sorry, I am a bit slow and overwhelmed by backlog after service mode, please go ahead wherever necessary!! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Arch: xtensa Issues related to the Xtensa architecture Area: Audio Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants