Kinsey Moore commented on a discussion on bsps/shared/dev/flash/jffs2_flashdev.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/319#note_115240 > + return RTEMS_NO_MEMORY; > + } > + memset(mount_data, 0, sizeof(*mount_data)); > + > + instance = malloc(sizeof(*instance)); > + if (instance == NULL) { > + free(mount_data); > + fclose(file); > + return RTEMS_NO_MEMORY; > + } > + memset(instance, 0, sizeof(*instance)); > + > + instance->handle = file; > + instance->mount_data = mount_data; > + mount_data->flash_control = &instance->super; > + mount_data->compressor_control = NULL; This has been added via the patch provided in the associated issue. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/319#note_115240 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
