Changeset 5a9ae994 in mainline
- Timestamp:
 - 2017-07-09T18:29:19Z (8 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - 115f25b
 - Parents:
 - afa347e
 - File:
 - 
      
- 1 edited
 
- 
          
  uspace/drv/bus/usb/xhci/hc.c (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/drv/bus/usb/xhci/hc.c
rafa347e r5a9ae994 208 208 209 209 if ((err = xhci_scratchpad_alloc(hc))) 210 goto err_ scratchpad;211 212 return EOK; 213 214 err_ scratchpad:210 goto err_event_ring; 211 212 return EOK; 213 214 err_event_ring: 215 215 xhci_event_ring_fini(&hc->event_ring); 216 216 err_cmd_ring: … … 437 437 xhci_scratchpad_free(hc); 438 438 439 /** 440 * Idx 0 already deallocated by xhci_scratchpad_free. 441 */ 442 for (int i = 1; i < hc->max_slots + 1; ++i) { 439 /* Idx 0 already deallocated by xhci_scratchpad_free. */ 440 for (unsigned i = 1; i < hc->max_slots + 1; ++i) { 443 441 if (hc->dcbaa[i] != NULL) { 444 442 free32(hc->dcbaa[i]);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  