forked from Imagelibrary/rtems
2005-05-03 Joel Sherrill <joel@OARcorp.com>
* rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of RTEMS_INVALID_ADDRESS on success path.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2005-05-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems/src/regiongetfreeinfo.c: Return RTEMS_SUCCESSFUL instead of
|
||||
RTEMS_INVALID_ADDRESS on success path.
|
||||
|
||||
2005-05-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t
|
||||
|
||||
@@ -75,7 +75,7 @@ rtems_status_code rtems_region_get_free_information(
|
||||
_Heap_Get_free_information( &the_region->Memory, &the_info->Free );
|
||||
|
||||
_RTEMS_Unlock_allocator();
|
||||
return RTEMS_INVALID_ADDRESS;
|
||||
return RTEMS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
return RTEMS_INTERNAL_ERROR; /* unreached - only to remove warnings */
|
||||
|
||||
Reference in New Issue
Block a user