RTEMS | Ported LittleFS (!1064)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Mar 30 19:57:56 UTC 2026




Gedare Bloom started a new discussion on cpukit/libfs/src/littlefs/rtems-littlefs-dir.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_147510

 > +    errno = rtems_littlefs_to_posix_error( offset );
 > +    rtems_littlefs_unlock( mt_entry );
 > +    return -1;
 > +  }
 > +
 > +  full_path = calloc( 1, RTEMS_LITTLEFS_MAX_PATHLEN );
 > +  if ( full_path == NULL ) {
 > +    errno = ENOMEM;
 > +    rtems_littlefs_unlock( mt_entry );
 > +    return -1;
 > +  }
 > +
 > +  rc = rtems_littlefs_path_join( full_path,
 > +                                 node->path,
 > +                                 info.name,
 > +                                 strlen( info.name ) );

This formatting is not quite right. use the `clang-format` as https://users.rtems.org/t/using-clang-format-on-rtems-git/454

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_147510
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/20260330/c008e925/attachment-0001.htm>


More information about the bugs mailing list