Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c259b9b in mainline


Ignore:
Timestamp:
2009-04-18T15:27:55Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
6b6e423a
Parents:
c08c355
Message:

Allow malloc(0, …) in kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/slab.c

    rc08c355 rc259b9b  
    937937{
    938938        ASSERT(_slab_initialized);
    939         ASSERT(size && size <= (1 << SLAB_MAX_MALLOC_W));
     939        ASSERT(size <= (1 << SLAB_MAX_MALLOC_W));
    940940       
    941941        if (size < (1 << SLAB_MIN_MALLOC_W))
Note: See TracChangeset for help on using the changeset viewer.