Changeset d1582b50 in mainline for uspace/lib/usbhid


Ignore:
Timestamp:
2020-12-14T20:41:53Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02fe42e
Parents:
1382446
git-author:
Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
Message:

Fix spacing in single-line comments using latest ccheck

This found incorrectly formatted section comments (with blocks of
asterisks or dashes). I strongly believe against using section comments
but I am not simply removing them since that would probably be
controversial.

Location:
uspace/lib/usbhid
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/include/usb/hid/hidpath.h

    r1382446 rd1582b50  
    8383        uint32_t usage;
    8484
    85         /** Attribute of Collection tag in report descriptor*/
     85        /** Attribute of Collection tag in report descriptor */
    8686        uint8_t flags;
    8787
  • uspace/lib/usbhid/include/usb/hid/hidtypes.h

    r1382446 rd1582b50  
    211211        int usages_count;
    212212
    213         /** Usage page*/
     213        /** Usage page */
    214214        uint32_t usage_page;
    215215
     
    226226        int32_t logical_maximum;
    227227
    228         /** Length of the items in bits*/
     228        /** Length of the items in bits */
    229229        int32_t size;
    230230
    231         /** COunt of items*/
     231        /** Count of items */
    232232        int32_t count;
    233233
     
    252252        uint32_t designator_index;
    253253
    254         /** Minimum valid designator value*/
     254        /** Minimum valid designator value */
    255255        uint32_t designator_minimum;
    256256
    257         /** Maximum valid designator value*/
     257        /** Maximum valid designator value */
    258258        uint32_t designator_maximum;
    259259
    260         /** Minimal valid physical value*/
     260        /** Minimal valid physical value */
    261261        int32_t physical_minimum;
    262262
     
    264264        int32_t physical_maximum;
    265265
    266         /** Items attributes*/
     266        /** Items attributes */
    267267        uint8_t item_flags;
    268268
     
    270270        usb_hid_report_type_t type;
    271271
    272         /** current collection path*/
     272        /** current collection path */
    273273        usb_hid_report_path_t *usage_path;
    274274
    275         /** Unused*/
     275        /** Unused */
    276276        link_t link;
    277277
  • uspace/lib/usbhid/src/hiddescriptor.c

    r1382446 rd1582b50  
    7474
    7575#define USB_HID_INVALID                 -98
    76 /** Unknown tag was founded in report descriptor data*/
     76/** Unknown tag was founded in report descriptor data */
    7777#define USB_HID_UNKNOWN_TAG             -99
    7878
     
    245245                field->item_flags = report_item->item_flags;
    246246
    247                 /* find the right report list*/
     247                /* find the right report list */
    248248                usb_hid_report_description_t *report_des;
    249249                report_des = usb_hid_report_find_description(report,
     
    352352        list_initialize(&stack);
    353353
    354         /* parser structure initialization*/
     354        /* parser structure initialization */
    355355        if (usb_hid_report_init(report) != EOK) {
    356356                return EINVAL;
    357357        }
    358358
    359         /*report item initialization*/
     359        /* report item initialization */
    360360        if (!(report_item = malloc(sizeof(usb_hid_report_item_t)))) {
    361361                return ENOMEM;
Note: See TracChangeset for help on using the changeset viewer.