Changeset 3e6e2b9 in mainline


Ignore:
Timestamp:
2011-05-26T15:54:55Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e95cd7
Parents:
6fe0beeb (diff), 14e1bcc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Report parsing returns error properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhid/src/hidparser.c

    r6fe0beeb r3e6e2b9  
    159159
    160160        report_des = usb_hid_report_find_description(report, *report_id, type);
     161        if(report_des == NULL) {
     162                return EINVAL;
     163        }
    161164
    162165        /* read data */
Note: See TracChangeset for help on using the changeset viewer.