# \[PATCH 06/16\] mm/slob: use min\_t() to compare ARCH\_SLAB\_MINALIGN

- From: Christoph Lameter \<hidden\>
- Date: 2012-10-05 16:46:23 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/10/3934939
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/10/67691/t.md

```text
On Fri, 5 Oct 2012, Arnd Bergmann wrote:

> Without this patch, building ARM collie_defconfig results in:
>
> mm/slob.c: In function '__kmalloc_node':
> mm/slob.c:431:152: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> mm/slob.c: In function 'kfree':
> mm/slob.c:484:153: warning: comparison of distinct pointer types lacks a cast [enabled by default]
> mm/slob.c: In function 'ksize':
> mm/slob.c:503:153: warning: comparison of distinct pointer types lacks a cast [enabled by default]

Acked-by: Christoph Lameter <redacted>
```
