Changeset 3b77628 in mainline for uspace/drv


Ignore:
Timestamp:
2011-01-24T11:58:24Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
afc4fbb
Parents:
0cfc68f0
Message:

Doxygen comment fixes

Mainly proper subgrouping and some missing @param comments.

Location:
uspace/drv
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.c

    r0cfc68f0 r3b77628  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
    28 /** @addtogroup usb hub driver
     28/** @addtogroup usbhub
    2929 * @{
    3030 */
  • uspace/drv/usbhub/usblist.c

    r0cfc68f0 r3b77628  
    2626 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727 */
    28 /** @addtogroup usb hub driver
     28/** @addtogroup usbhub
    2929 * @{
    3030 */
  • uspace/drv/usbhub/usblist.h

    r0cfc68f0 r3b77628  
    2727 */
    2828
    29 
    30 #ifndef USBLIST_H
    31 #define USBLIST_H
    32 /** @addtogroup usb hub driver
     29/** @addtogroup usbhub
    3330 * @{
    3431 */
     
    4037 * much simpler and more straight-forward semantics.
    4138 */
     39#ifndef USBLIST_H
     40#define USBLIST_H
    4241
    4342/**
     
    7877}
    7978
    80 
     79#endif  /* USBLIST_H */
    8180/**
    8281 * @}
    8382 */
    84 
    85 
    86 
    87 #endif  /* USBLIST_H */
    88 
  • uspace/drv/usbhub/utils.c

    r0cfc68f0 r3b77628  
    2727 */
    2828
    29 /** @addtogroup libusb usb
     29/** @addtogroup usbhub
    3030 * @{
    3131 */
  • uspace/drv/vhc/devices.c

    r0cfc68f0 r3b77628  
    5858/** Create virtual device.
    5959 *
    60  * @param address USB address.
    6160 * @param phone Callback phone.
    6261 * @return New device.
    63  * @retval NULL Out of memory or address already occupied.
     62 * @retval NULL Out of memory.
    6463 */
    6564virtdev_connection_t *virtdev_add_device(int phone)
     
    6766        virtdev_connection_t *dev = (virtdev_connection_t *)
    6867            malloc(sizeof(virtdev_connection_t));
     68        if (dev == NULL) {
     69                return NULL;
     70        }
     71
    6972        dev->phone = phone;
    7073        list_append(&dev->link, &devices);
Note: See TracChangeset for help on using the changeset viewer.