All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ipr operational timeout oops
@ 2004-05-28  2:55 Brian King
  0 siblings, 0 replies; only message in thread
From: Brian King @ 2004-05-28  2:55 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

James,

Here's one more. Please apply.

Thanks

-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center

[-- Attachment #2: ipr_ioa_reset_timeout_oops2.patch --]
[-- Type: text/plain, Size: 808 bytes --]


This patch fixes an oops that can occur if an adapter times
out coming operational.


---

 linux-2.6.7-rc1-bjking1/drivers/scsi/ipr.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/scsi/ipr.c~ipr_ioa_reset_timeout_oops2 drivers/scsi/ipr.c
--- linux-2.6.7-rc1/drivers/scsi/ipr.c~ipr_ioa_reset_timeout_oops2	2004-05-26 17:22:17.000000000 -0500
+++ linux-2.6.7-rc1-bjking1/drivers/scsi/ipr.c	2004-05-26 17:22:36.000000000 -0500
@@ -4818,6 +4818,7 @@ static int ipr_reset_enable_ioa(struct i
 	ipr_cmd->timer.data = (unsigned long) ipr_cmd;
 	ipr_cmd->timer.expires = jiffies + IPR_OPERATIONAL_TIMEOUT;
 	ipr_cmd->timer.function = (void (*)(unsigned long))ipr_timeout;
+	ipr_cmd->done = ipr_reset_ioa_job;
 	add_timer(&ipr_cmd->timer);
 	list_add_tail(&ipr_cmd->queue, &ioa_cfg->pending_q);
 

_

[-- Attachment #3: ipr_driver_version_2_0_9.patch --]
[-- Type: text/plain, Size: 676 bytes --]


Bump driver version


---

 linux-2.6.7-rc1-bjking1/drivers/scsi/ipr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/scsi/ipr.h~ipr_driver_version_2_0_9 drivers/scsi/ipr.h
--- linux-2.6.7-rc1/drivers/scsi/ipr.h~ipr_driver_version_2_0_9	2004-05-26 22:29:56.000000000 -0500
+++ linux-2.6.7-rc1-bjking1/drivers/scsi/ipr.h	2004-05-26 22:30:13.000000000 -0500
@@ -36,8 +36,8 @@
 /*
  * Literals
  */
-#define IPR_DRIVER_VERSION "2.0.8"
-#define IPR_DRIVER_DATE "(May 23, 2004)"
+#define IPR_DRIVER_VERSION "2.0.9"
+#define IPR_DRIVER_DATE "(May 26, 2004)"
 
 /*
  * IPR_DBG_TRACE: Setting this to 1 will turn on some general function tracing

_

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

only message in thread, other threads:[~2004-05-28  2:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-28  2:55 [PATCH] ipr operational timeout oops Brian King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.