Merge remote-tracking branch 'spi/topic/core' into spi-next

This commit is contained in:
Mark Brown
2017-04-26 15:57:58 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -891,7 +891,7 @@ static inline struct spi_message *spi_message_alloc(unsigned ntrans, gfp_t flags
unsigned i;
struct spi_transfer *t = (struct spi_transfer *)(m + 1);
INIT_LIST_HEAD(&m->transfers);
spi_message_init_no_memset(m);
for (i = 0; i < ntrans; i++, t++)
spi_message_add_tail(t, m);
}