Changeset 11b285d in mainline for kernel/test/cht/cht1.c
- Timestamp:
- 2018-05-13T15:19:32Z (7 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/cht/cht1.c
r13db2044 r11b285d 110 110 111 111 for (int i = 0; i < val_cnt; ++i) 112 v[i] = malloc(sizeof(val_t), 0);112 v[i] = nfmalloc(sizeof(val_t)); 113 113 114 114 size_t key[] = { 1, 1, 1, 11, 12, 13 }; … … 316 316 TPRINTF("I{"); 317 317 for (size_t i = 0; i < work->wave_elems; ++i) { 318 stress_t *s = malloc(sizeof(stress_t) , FRAME_ATOMIC);318 stress_t *s = malloc(sizeof(stress_t)); 319 319 if (!s) { 320 320 TPRINTF("[out-of-mem]\n"); … … 473 473 474 474 TPRINTF("Alloc and init table items. \n"); 475 void *p = malloc(size , FRAME_ATOMIC);475 void *p = malloc(size); 476 476 if (!p) { 477 477 TPRINTF("Failed to alloc items\n");
Note:
See TracChangeset
for help on using the changeset viewer.