Changeset 6caf5fb in mainline for kernel/generic/src/ipc/kbox.c


Ignore:
Timestamp:
2025-01-16T21:42:15Z (20 hours ago)
Author:
GitHub <noreply@…>
Parents:
e0e2264 (diff), 455241b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-01-16 21:42:15)
git-committer:
GitHub <noreply@…> (2025-01-16 21:42:15)
Message:

Merge 455241b37bedd3719ed3b5b025fdf26f44fd565b into e0e22648f5799cc98671695e153b0b00037daeb9

File:
1 edited

Legend:

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

    re0e2264 r6caf5fb  
    242242        }
    243243
    244         kobject_t *phone_obj = kobject_get(TASK, phone_handle,
    245             KOBJECT_TYPE_PHONE);
     244        phone_t *phone = phone_from_kobject(
     245            kobject_get(TASK, phone_handle, KOBJECT_TYPE_PHONE));
    246246        /* Connect the newly allocated phone to the kbox */
    247247        /* Hand over phone_obj's reference to ipc_phone_connect() */
    248         (void) ipc_phone_connect(phone_obj->phone, &task->kb.box);
     248        (void) ipc_phone_connect(phone, &task->kb.box);
    249249
    250250        mutex_unlock(&task->kb.cleanup_lock);
Note: See TracChangeset for help on using the changeset viewer.