1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -149,8 +149,10 @@ static int m25p80_read(struct spi_nor *n
4 msg.data_nbits = m25p80_rx_nbits(nor);
6 ret = spi_flash_read(spi, &msg);
7 - *retlen = msg.retlen;
10 + *retlen = msg.retlen;