Changeset 1433ecda in mainline for kernel/test/mm


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

Location:
kernel/test/mm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab1.c

    r47b2d7e3 r1433ecda  
    132132        for (j = 0; j < 10; j++) {
    133133                for (i = 0; i < THR_MEM_COUNT; i++)
    134                         thr_data[offs][i] = slab_alloc(thr_cache,0);
     134                        thr_data[offs][i] = slab_alloc(thr_cache, 0);
    135135                for (i = 0; i < THR_MEM_COUNT / 2; i++)
    136136                        slab_free(thr_cache, thr_data[offs][i]);
  • kernel/test/mm/slab2.c

    r47b2d7e3 r1433ecda  
    141141
    142142        mutex_lock(&starter_mutex);
    143         condvar_wait(&thread_starter,&starter_mutex);
     143        condvar_wait(&thread_starter, &starter_mutex);
    144144        mutex_unlock(&starter_mutex);
    145145
     
    209209
    210210        thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0);
    211         semaphore_initialize(&thr_sem,0);
     211        semaphore_initialize(&thr_sem, 0);
    212212        for (i = 0; i < THREADS; i++) {
    213213                if (!(t = thread_create(slabtest, NULL, TASK, THREAD_FLAG_NONE, "slabtest"))) {
Note: See TracChangeset for help on using the changeset viewer.