The patch titled down_interruptible() can return -EINTR, not EINTR has been added to the -mm tree. Its filename is libertas-down_interruptible-can-return-eintr-not-eintr.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: down_interruptible() can return -EINTR, not EINTR From: roel kluin <roel.kluin@xxxxxxxxx> Fix test in lbs_spi_thread(). down_interruptible() can return -EINTR, but not EINTR. Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx> Cc: Dan Williams <dcbw@xxxxxxxxxx> Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/wireless/libertas/if_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/net/wireless/libertas/if_spi.c~libertas-down_interruptible-can-return-eintr-not-eintr drivers/net/wireless/libertas/if_spi.c --- a/drivers/net/wireless/libertas/if_spi.c~libertas-down_interruptible-can-return-eintr-not-eintr +++ a/drivers/net/wireless/libertas/if_spi.c @@ -784,7 +784,7 @@ static int lbs_spi_thread(void *data) up(&card->spi_thread_terminated); do_exit(0); } - } while (err == EINTR); + } while (err == -EINTR); /* Read the host interrupt status register to see what we * can do. */ _ Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are btrfs-dont-dereference-extent_mapping-if-null.patch regulator-missing-index-in-ptr_err-in-isl6271a_probe.patch libertas-down_interruptible-can-return-eintr-not-eintr.patch crypto-dont-return-ptr_err-of-wrong-pointer.patch frv-duplicate-output_buffer-of-e03.patch frv-duplicate-output_buffer-of-e03-checkpatch-fixes.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