Joel Sherrill started a new discussion on 
cpukit/libfs/src/littlefs/rtems-littlefs-init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_142901

 > +  lfs_block_t block
 > +)
 > +{
 > +  rtems_littlefs_config_context_t *ctx;
 > +  off_t disk_offset;
 > +  ssize_t rc;
 > +
 > +  ctx = cfg->context;
 > +  if ( ctx == NULL || ctx->fd < 0 ) {
 > +    return LFS_ERR_INVAL;
 > +  }
 > +
 > +  disk_offset = ((off_t) block * (off_t) cfg->block_size);
 > +
 > +  if ( ctx->zero_buffer == NULL ) {
 > +    ctx->zero_buffer = calloc(cfg->block_size, 1);

Space inside parentheses.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_142901
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