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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to