Skip to content

Conversation

ZhaoxiangJin
Copy link
Contributor

need to explicitly convert UMP_MT(ump) and UMP_GROUP(ump) to unsigned int, otherwise the compiler will report an warning.

@ZhaoxiangJin
Copy link
Contributor Author

ZhaoxiangJin commented Oct 9, 2025

This build warning blocked #96978.
How to reproduce: west build -p always -b frdm_mcxn236/mcxn236 ./samples/subsys/usb/midi -T sample.usb_device_next.midi -d ./build/

@ZhaoxiangJin ZhaoxiangJin marked this pull request as ready for review October 9, 2025 12:52
@zephyrbot zephyrbot added area: USB Universal Serial Bus size: XS A PR changing only a single line of code labels Oct 9, 2025
need to explicitly convert UMP_MT(ump) and UMP_GROUP(ump)
to unsigned int, otherwise the compiler will report an warning.

Signed-off-by: Zhaoxiang Jin <[email protected]>
Copy link

sonarqubecloud bot commented Oct 9, 2025

Copy link
Contributor

@tmon-nordic tmon-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think #97324 is better approach to solving this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants