Skip to content

[transports] Fix ioctl pointer argument in spi_nor_busy_wait - #325

Merged
mfield4 merged 1 commit into
google:mainfrom
mfield4:spi-nor-busy-wait
Nov 6, 2026
Merged

mfield4 merged 1 commit into
google:mainfrom
mfield4:spi-nor-busy-wait

Conversation

@mfield4

@mfield4 mfield4 commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Pass &xfer rather than xfer by value to ioctl(fd, SPI_IOC_MESSAGE(1), ...) when polling the SPI NOR status register WIP bit.

@xorptr
xorptr self-requested a review November 6, 2026 09:54
Comment thread transports/libhoth_spi.c Resolved
xorptr
xorptr previously approved these changes Nov 6, 2026
Comment thread transports/libhoth_spi.c Resolved
Pass `&xfer` rather than `xfer` by value to `ioctl(fd, SPI_IOC_MESSAGE(1), ...)`
when polling the SPI NOR status register WIP bit.
@mfield4
mfield4 marked this pull request as ready for review November 6, 2026 20:21
@mfield4
mfield4 merged commit 3bfea17 into google:main Nov 6, 2026
10 checks passed
@mfield4
mfield4 deleted the spi-nor-busy-wait branch November 6, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants