Skip to content
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

Move 'DMA mapping failed' print to the failure handling case of the c… #160

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

rclaus2
Copy link
Contributor

@rclaus2 rclaus2 commented Jul 31, 2024

…onditional

Printing of 'DMA mapping failed' was being done when dma_mapping_error() returned false instead of when it returned true.

Description

The change was to move the 'DMA mapping failed' print to the case when dma_mapping_error() returned true. This avoids this print appearing for each DMA buffer registered in dmesg output and in /var/log/messages.

Copy link
Member

@JJL772 JJL772 left a comment

Choose a reason for hiding this comment

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

Thanks for catching this!

@JJL772 JJL772 changed the base branch from main to pre-release August 1, 2024 21:07
@ruck314 ruck314 merged commit 9d2de96 into pre-release Aug 4, 2024
3 checks passed
@ruck314 ruck314 deleted the DMA_mapping_failed_fix branch August 4, 2024 06:33
@ruck314 ruck314 mentioned this pull request Aug 4, 2024
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.

3 participants