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

- From: Pekka Enberg \<penberg@kernel.org\>
- Date: 2012-10-31 07:25:30 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/10/3949337
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/10/67691/t.md

```text
On Fri, 5 Oct 2012, Christoph Lameter wrote:

> 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>

Applied, thanks!
```
