Changeset ea27ada in rtems


Ignore:
Timestamp:
06/09/23 16:11:58 (4 months ago)
Author:
Kinsey Moore <kinsey.moore@…>
Branches:
master
Children:
e58f25a9
Parents:
09fd5dd3
git-author:
Kinsey Moore <kinsey.moore@…> (06/09/23 16:11:58)
git-committer:
Joel Sherrill <joel@…> (06/10/23 16:02:29)
Message:

testsuites/flashdev01: Use correct page_size type

The page size ioctl requires an int pointer to retrieve the page size.
The test currently uses a size_t which mostly works fine for systems
where size_t and int are the same size, but can leave junk data in the
upper bits when they differ in size causing an assert in the test to
fail in some cases. This updates the variable to the correct type.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.