Skip to content

usb: host: Correct function prototype#103585

Merged
aescolar merged 1 commit intozephyrproject-rtos:mainfrom
aescolar:usb_const
Feb 5, 2026
Merged

usb: host: Correct function prototype#103585
aescolar merged 1 commit intozephyrproject-rtos:mainfrom
aescolar:usb_const

Conversation

@aescolar
Copy link
Copy Markdown
Member

@aescolar aescolar commented Feb 5, 2026

Correct function prototype which causes a compiler warning and builds to fail due to it.

Failure can be seen for ex. here:
https://github.com/zephyrproject-rtos/zephyr/actions/runs/21712843364/job/62620678223#step:12:329
with clang

@aescolar aescolar requested a review from jfischer-no February 5, 2026 14:23
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: USB Universal Serial Bus labels Feb 5, 2026
@aescolar aescolar added the Hotfix Fix for issues blocking development, i.e. upstream CI issues, tests failing in upstream CI , etc. label Feb 5, 2026
Correct function prototype which causes a compiler warning
and builds to fail due to it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@zephyrbot zephyrbot removed the size: XS A PR changing only a single line of code label Feb 5, 2026
@aescolar aescolar added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Feb 5, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 5, 2026

@tmon-nordic
Copy link
Copy Markdown
Contributor

Mutually exclusive with #103579. Merging one of them should solve the issue, but merging both most likely will fail.

Copy link
Copy Markdown
Contributor

@josuah josuah left a comment

Choose a reason for hiding this comment

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

const bool didn't make sense to begin with, probably a refactoring foe.

Sorry about this!

@aescolar aescolar merged commit 45fae3d into zephyrproject-rtos:main Feb 5, 2026
28 of 29 checks passed
@aescolar aescolar deleted the usb_const branch February 5, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: USB Universal Serial Bus Hotfix Fix for issues blocking development, i.e. upstream CI issues, tests failing in upstream CI , etc. Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants