Skip to content

arch/mpfs/usb: Align usb_ctrlreq_s properly to 32-bit boundary #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlaitine
Copy link

@jlaitine jlaitine commented Apr 9, 2025

The alignment of the ctrlreq was correct by luck, and was broken when the spinlock was added to the structure.

For the CONFIG_BUILD_FLAT with no smp, when the spinlock_t is 8 bits.

The alignment of the ctrlreq was correct by luck, and was broken
when the spinlock was added to the structure.

For the CONFIG_BUILD_FLAT with no smp, when the spinlock_t is 8 bits.

Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants