Changeset 11b285d in mainline for kernel/test/synch/workq-test-core.h
- Timestamp:
- 2018-05-13T15:19:32Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad896eb
- Parents:
- 13db2044
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 14:59:01)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 15:19:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/workq-test-core.h
r13db2044 r11b285d 72 72 static test_work_t *create_child(test_work_t *work) 73 73 { 74 test_work_t *child = malloc(sizeof(test_work_t), 0);74 test_work_t *child = nfmalloc(sizeof(test_work_t)); 75 75 assert(child); 76 76 if (child) { … … 152 152 } 153 153 154 test_work_t *work = malloc(sizeof(test_work_t), 0);154 test_work_t *work = nfmalloc(sizeof(test_work_t)); 155 155 156 156 work->master = true;
Note:
See TracChangeset
for help on using the changeset viewer.