The patch titled spi: limit reaches -1, tested 0 has been removed from the -mm tree. Its filename was spi-limit-reaches-1-tested-0.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: spi: limit reaches -1, tested 0 From: Roel Kluin <roel.kluin@xxxxxxxxx> With a postfix decrement limit will reach -1 rather than 0, so the warning will not be issued. Also, add a cpu_relax() into the busy-wait loop. Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> Cc: Mariusz Ceier <mceier@xxxxxxxxx> Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/spi/spi_imx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/spi/spi_imx.c~spi-limit-reaches-1-tested-0 drivers/spi/spi_imx.c --- a/drivers/spi/spi_imx.c~spi-limit-reaches-1-tested-0 +++ a/drivers/spi/spi_imx.c @@ -779,7 +779,8 @@ static irqreturn_t interrupt_transfer(st /* Read trailing bytes */ limit = loops_per_jiffy << 1; - while ((read(drv_data) == 0) && limit--); + while ((read(drv_data) == 0) && --limit) + cpu_relax(); if (limit == 0) dev_err(&drv_data->pdev->dev, _ Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are origin.patch linux-next.patch drm-fix-lock_test_with_return-macro.patch pata-rb532-cf-platform_get_irq-failure-ignored.patch uwb-event_size-should-be-signed.patch scsi-ncr53c8xx-div-reaches-1.patch scsi-pcmcia-nsp_cs-time_out-reaches-1.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch m68k-count-can-reach-51-not-50.patch ufs-sector_t-cannot-be-negative.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html