Kinsey Moore started a new discussion on cpukit/include/dev/iospace/iospace.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1243#note_150042

 > +
 > +/**
 > + * @brief Unregister the iospace device.
 > + *
 > + * @param[in] iospace The iospace device.
 > + *
 > + * @retval 0 Successful operation.
 > + * @retval non-zero Failed operation.
 > + */
 > +int rtems_iospace_unregister( const char *iospace_path );
 > +
 > +/**
 > + * @brief Destroys the iospace device.
 > + *
 > + * This function must only be used on rtems_iospace instances that have not
 > + * been registered.

This is slightly ambiguous. The registration function description claims that 
it always takes ownership, but this comment suggests that a failed registration 
attempt may leave an iospace in a state where it will still need to be 
destroyed.

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