> On 17.02.2016, at 18:42, Fabio Estevam <fabio.estevam@xxxxxxx> wrote: > > Use min_t(size_t,..) in order to avoid the following > build warning on ARM64: > > include/linux/kernel.h:754:17: warning: comparison of distinct pointer types lacks a cast > (void) (&_min1 == &_min2); \ > ^ > drivers/spi/spi.c:2304:17: note: in expansion of macro 'min' > xfers[0].len = min(maxsize, xfer[0].len); > > Suggested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxx> Thanks, was busy with other stuff and thus could not create a patch myself. Acked-by: Martin Sperl <kernel@xxxxxxxxxxxxxxxx>-- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html