[PATCH v2 3/8] mm/slob: use min_t() to compare ARCH_SLAB_MINALIGN

2012-10-09 Thread Arnd Bergmann
The definition of ARCH_SLAB_MINALIGN is architecture dependent and can be either of type size_t or int. Comparing that value with ARCH_KMALLOC_MINALIGN can cause harmless warnings on platforms where they are different. Since both are always small positive integer numbers, using the size_t type to

[PATCH v2 3/8] mm/slob: use min_t() to compare ARCH_SLAB_MINALIGN

2012-10-09 Thread Arnd Bergmann
The definition of ARCH_SLAB_MINALIGN is architecture dependent and can be either of type size_t or int. Comparing that value with ARCH_KMALLOC_MINALIGN can cause harmless warnings on platforms where they are different. Since both are always small positive integer numbers, using the size_t type to