RTEMS | bsps/shared/dev/flash: Enforce maximum JFFS2 filesystem size (!735)

Chris Johns (@chris) gitlab at rtems.org
Fri Sep 19 22:03:38 UTC 2025



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/735 was reviewed by Chris Johns

--
  
Chris Johns started a new discussion on bsps/shared/dev/flash/jffs2_flashdev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/735#note_132787

 > +  if (instance->super.flash_size > max_jffs2_size) {
 > +    instance->super.flash_size = max_jffs2_size;
 > +  }

This looks like a silent downsizing? Can this be a hard failure so the user knows they have flash capability they can use?


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/735
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/20250919/fc16ea78/attachment.htm>


More information about the bugs mailing list