Changeset 113093a in mainline for uspace/lib


Ignore:
Timestamp:
2011-09-24T21:39:41Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1924bd43, f9d8c3a
Parents:
b3bf143 (diff), 024fcc5 (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:

Merge from lp:~vojtech-horky/helenos/usb

  • Fixed #349 (usbhid hit a malloc assertion when mouse is moved for the first time)
  • Fixed #377 (Console dies on a keypress of USB keyboard when in kconsole)
  • Added another virtual USB HID (Logitech Wireless)
File:
1 edited

Legend:

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

    rb3bf143 r113093a  
    7676                                    int32_t usage_page, int32_t usage)
    7777{       
    78         usb_hid_report_usage_path_t *item;
    79 
    80         if(!(item=malloc(sizeof(usb_hid_report_usage_path_t)))) {
     78        usb_hid_report_usage_path_t *item
     79                = malloc(sizeof(usb_hid_report_usage_path_t));
     80
     81        if (item == NULL) {
    8182                return ENOMEM;
    8283        }
Note: See TracChangeset for help on using the changeset viewer.