RTEMS | cpukit/dev/flash: Fix region bitmap clear size (!1280)
Chris Johns (@chris)
gitlab at rtems.org
Thu Jun 4 01:34:07 UTC 2026
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1280 was reviewed by Chris Johns
--
Chris Johns started a new discussion on cpukit/dev/flash/flashdev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1280#note_151770
>
> - memset( table->bit_allocator, 0, alloc_array_len );
> + memset( table->bit_allocator, 0, alloc_array_len * sizeof( uint32_t ) );
Please change `RTEMS_FLASHDEV_BITALLOC_LENGTH` to `RTEMS_FLASHDEV_BITALLOC_WORD_LENGTH` and add `RTEMS_FLASHDEV_BITALLOC_BYTE_LENGTH`
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1280
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260604/ee72a28c/attachment.htm>
More information about the bugs
mailing list