Paul Menage wrote: > On 8/30/07, Pavel Emelyanov <xemul@xxxxxxxxxx> wrote: >> +config CONTAINER_KMEM >> + bool "Kernel memory controller for containers" >> + depends on CONTAINERS && RESOURCE_COUNTERS && SLUB >> + help >> + Provedes a kernel memory usage controll for containers > > s/Provedes/Provides/ > s/controll/control/ :) Thanks >> + >> + if (mem == NULL) >> + return NULL; > > That ought to be > > return -ENOMEM; Are you sure? This function should return the pointer! Maybe its ought to be ERR_PTR(-ENOMEM)? > > Paul > _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers