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

drivers: can: mcan: Fix off-by-one errors in asserts #68541

Conversation

henrikbrixandersen
Copy link
Member

Fix off-by-one errors in asserts.

Fixes: #68540

(Fix cherry-picked from stale PR #63072 by @gramsay0)

Fix off-by-one errors in asserts.

Signed-off-by: Grant Ramsay <[email protected]>
@henrikbrixandersen henrikbrixandersen added this to the v3.6.0 milestone Feb 5, 2024
@henrikbrixandersen henrikbrixandersen added the bug The issue is a bug, or the PR is fixing a bug label Feb 5, 2024
@MaureenHelm MaureenHelm merged commit 6865e2a into zephyrproject-rtos:main Feb 5, 2024
22 checks passed
@henrikbrixandersen henrikbrixandersen deleted the can_mcan_asserts_off_by_one branch February 6, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: CAN bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drivers: can: mcan: off-by-one in assert statements
8 participants