voron

experimental ARM OS
git clone git://git.2f30.org/voron.git
Log | Files | Refs | LICENSE

commit 3218ef87caba1d584eea361c9267c0f1b2ace9e4
parent c4eb910d963916a03b5b3f82712416857a07be5a
Author: sin <sin@2f30.org>
Date:   Wed Jul 17 11:27:33 +0100

Fix indentation

Diffstat:
kernel/alloc.c | 6++++--
kernel/pool.c | 2+-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/kernel/alloc.c b/kernel/alloc.c @@ -197,13 +197,15 @@ kdump(void) kprintf("alloc list\n"); list_for_each_safe(pos, tmp, &alloclist) { memc = list_entry(pos, struct mem_chunk, list); - kprintf("%p (phys: %p): %p %p %d\n", pos, virt_to_phys(pos), memc, memc->start, memc->size); + kprintf("%p (phys: %p): %p %p %d\n", pos, virt_to_phys(pos), + memc, memc->start, memc->size); } kprintf("\nfree list\n"); list_for_each_safe(pos, tmp, &freelist) { memc = list_entry(pos, struct mem_chunk, list); - kprintf("%p (phys: %p): %p %p %d\n", pos, virt_to_phys(pos), memc, memc->start, memc->size); + kprintf("%p (phys: %p): %p %p %d\n", pos, virt_to_phys(pos), + memc, memc->start, memc->size); } } diff --git a/kernel/pool.c b/kernel/pool.c @@ -113,7 +113,7 @@ item_free(struct pool *pool, item_id id) for (i = 0; i < pool->siz; i++) { item = &pool->item[i]; if (item->id == id) - item->state= ITEM_UNUSED; + item->state = ITEM_UNUSED; } spinlock_unlock(&pool_lock); }