Joel Sherrill started a new discussion on testsuites/psxtests/psximfs03/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/534#note_128189 > +#include <unistd.h> > +#include <sys/types.h> > +#include <sys/stat.h> > +#include <sys/statvfs.h> > +#include <fcntl.h> > +#include <errno.h> > +#include <rtems/libcsupport.h> > +#include <rtems/imfs.h> > + > +const char rtems_test_name[] = "PSXIMFS 3"; > +#define BLOCK_SIZE 16 > + > +typedef struct block{ > + struct block * next; > + char data[BLOCK_SIZE - sizeof(struct block*)]; > +}block; Space after } This structure should be a total of 16 bytes. Since I am commenting anyway, you can add an _Assert() near the start of the test that this is true. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/534#note_128189 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
