native_posix_64/tests/subsys/fs/fat_fs_api/filesystem.fat fails #19231
Labels
area: File System
area: Tests
Issues related to a particular existing or missing test
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
sanitycheck on a 64-bit Linux host always fails with this error:
The cause is that on this platform the
DWORD
typedef in fatfs is a 64-bit integer, but the implementation ofdisk_flash_access_ioctl
assumes the output value is always a pointer to a 32-bit integer. As such the sector count and size parameters are half garbage, and a check inf_mkfs
fails returning an error code.The text was updated successfully, but these errors were encountered: