stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "[SCSI] bfa: Replace large udelay() with mdelay()" has been added to the 3.14-stable tree
@ 2015-05-02 14:21 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-05-02 14:21 UTC (permalink / raw)
  To: ben, JBottomley, gregkh, linux, vagrant; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    [SCSI] bfa: Replace large udelay() with mdelay()

to the 3.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     bfa-replace-large-udelay-with-mdelay.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From b367dcaa512922e9207160bef0895622cfae4c9f Mon Sep 17 00:00:00 2001
From: Ben Hutchings <ben@decadent.org.uk>
Date: Sun, 9 Mar 2014 04:04:18 +0000
Subject: [SCSI] bfa: Replace large udelay() with mdelay()

From: Ben Hutchings <ben@decadent.org.uk>

commit b367dcaa512922e9207160bef0895622cfae4c9f upstream.

udelay() does not work on some architectures for values above
2000, in particular on ARM:

ERROR: "__bad_udelay" [drivers/scsi/bfa/bfa.ko] undefined!

Reported-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/scsi/bfa/bfa_ioc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/scsi/bfa/bfa_ioc.c
+++ b/drivers/scsi/bfa/bfa_ioc.c
@@ -7006,7 +7006,7 @@ bfa_flash_sem_get(void __iomem *bar)
 	while (!bfa_raw_sem_get(bar)) {
 		if (--n <= 0)
 			return BFA_STATUS_BADFLASH;
-		udelay(10000);
+		mdelay(10);
 	}
 	return BFA_STATUS_OK;
 }


Patches currently in stable-queue which might be from ben@decadent.org.uk are

queue-3.14/bfa-replace-large-udelay-with-mdelay.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-02 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02 14:21 Patch "[SCSI] bfa: Replace large udelay() with mdelay()" has been added to the 3.14-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).