Changeset 82d515e9 in mainline for kernel/generic/src/ipc/ipcrsc.c


Ignore:
Timestamp:
2017-12-05T11:30:02Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9af1c61
Parents:
9a09212
git-author:
Jakub Jermar <jakub@…> (2017-12-05 11:25:41)
git-committer:
Jakub Jermar <jakub@…> (2017-12-05 11:30:02)
Message:

Fix terminology

Objects of slab_cache_t type are caches, not slabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipcrsc.c

    r9a09212 r82d515e9  
    153153{
    154154        phone_t *phone = (phone_t *) arg;
    155         slab_free(phone_slab, phone);
     155        slab_free(phone_cache, phone);
    156156}
    157157
     
    173173        cap_handle_t handle = cap_alloc(task);
    174174        if (handle >= 0) {
    175                 phone_t *phone = slab_alloc(phone_slab, FRAME_ATOMIC);
     175                phone_t *phone = slab_alloc(phone_cache, FRAME_ATOMIC);
    176176                if (!phone) {
    177177                        cap_free(TASK, handle);
     
    181181                if (!kobject) {
    182182                        cap_free(TASK, handle);
    183                         slab_free(phone_slab, phone);
     183                        slab_free(phone_cache, phone);
    184184                        return ENOMEM;
    185185                }
Note: See TracChangeset for help on using the changeset viewer.