Changeset 4172db4a in mainline for uspace/drv/block/usbmast/main.c
- Timestamp:
- 2018-01-25T02:05:57Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e8277c0
- Parents:
- 92a7b296
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-24 22:51:14)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 02:05:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/usbmast/main.c
r92a7b296 r4172db4a 180 180 mdev->luns = calloc(mdev->lun_count, sizeof(ddf_fun_t*)); 181 181 if (mdev->luns == NULL) { 182 rc = ENOMEM;183 182 usb_log_error("Failed allocating luns table."); 184 goto error;183 return ENOMEM; 185 184 } 186 185
Note:
See TracChangeset
for help on using the changeset viewer.