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

ztest: use ASSERT3P to compare pointers #16115

Merged
merged 1 commit into from
Apr 22, 2024

Commits on Apr 19, 2024

  1. ztest: use ASSERT3P to compare pointers

    With a sufficently modern gcc (I saw this with gcc13), gcc complains
    when casting pointers to an integer of a different type (even a larger
    one).  On 32-bt ASSERT3U does this on 32-bit systems by casting a 32-bit
    pointer to uint64_t so use ASSERT3P which uses uintptr_t.
    
    Fixes: 5caeef0 RAID-Z expansion feature
    Signed-off-by: Brooks Davis <[email protected]>
    brooksdavis committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    ce5543d View commit details
    Browse the repository at this point in the history