Skip to contentSkip to conversation

PATCH: fix crashes with aacraid

PATCH Alan Cox 3 participants 7 messages Dec 27, 2004 – Jan 3, 2005

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

Is this change still needed for 2.6.10 Mark ?

drivers/scsi/aacraid/commsup.c +3 -0
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.10/drivers/scsi/aacraid/commsup.c linux-2.6.10/drivers/scsi/aacraid/commsup.c
@@ -781,6 +781,7 @@
 static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr)
 {
 	struct hw_fib * hw_fib = fibptr->hw_fib;
+#if 0	
 	/*
 	 * Set the status of this FIB to be Invalid parameter.
 	 *
@@ -788,6 +789,8 @@
 	 */
 	*(u32 *)hw_fib->data = cpu_to_le32(ST_OK);
 	fib_adapter_complete(fibptr, sizeof(u32));
+	/* This will be done on our return */
+#endif
 }
 
 /**
#1 lore raw
Quoted 1 line · Alan Cox

Is this change still needed for 2.6.10 Mark ?

I thought that the consensus was to remove aac_handle_aif altogether like the patch sent in by Tom Coughlan on Dec. 8th.

Mark

Quoted 21 lines

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.10/drivers/scsi/aacraid/commsup.c linux-2.6.10/drivers/scsi/aacraid/commsup.c

drivers/scsi/aacraid/commsup.c +3 -0
@@ -781,6 +781,7 @@
 static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr)
 {
 	struct hw_fib * hw_fib = fibptr->hw_fib;
+#if 0	
 	/*
 	 * Set the status of this FIB to be Invalid parameter.
 	 *
@@ -788,6 +789,8 @@
 	 */
 	*(u32 *)hw_fib->data = cpu_to_le32(ST_OK);
 	fib_adapter_complete(fibptr, sizeof(u32));
+	/* This will be done on our return */
+#endif
 }
 
 /**
Signature · 1 line
Mark Haverkamp <[email protected]>
author
#2 lore raw
Quoted 5 lines · Mark Haverkamp
Quoted 1 line · Alan Cox

Is this change still needed for 2.6.10 Mark ?

I thought that the consensus was to remove aac_handle_aif altogether like the patch sent in by Tom Coughlan on Dec. 8th.

Thats what I assumed but then I could find nothing in 2.6.10 that made aacraid work so I wasn't sure what if anything had been applied

#3 lore raw
Quoted 9 lines · Alan Cox
Quoted 5 lines · Mark Haverkamp
Quoted 1 line · Alan Cox

Is this change still needed for 2.6.10 Mark ?

I thought that the consensus was to remove aac_handle_aif altogether like the patch sent in by Tom Coughlan on Dec. 8th.

Thats what I assumed but then I could find nothing in 2.6.10 that made aacraid work so I wasn't sure what if anything had been applied

Yes, I looked and it hasn't been applied to either the scsi-misc-2.6 or the scsi-rc-fixes-2.6 bk trees either.

Signature · 1 line
Mark Haverkamp <[email protected]>
#4 lore raw
Quoted 2 lines · Mark Haverkamp

Yes, I looked and it hasn't been applied to either the scsi-misc-2.6 or the scsi-rc-fixes-2.6 bk trees either.

Look, I'm really sorry but the dog got over excited on bonfire night and knocked my crystal ball onto the floor and broke it. So, until I can get a new one on the National Elf Service, could you assume that if you actually need me to apply a patch instead of getting it folded into an aacraid update from you, you actually have to tell me this.

Thanks,

James

#5 lore raw
Quoted 9 lines · James Bottomley
Quoted 2 lines · Mark Haverkamp

Yes, I looked and it hasn't been applied to either the scsi-misc-2.6 or the scsi-rc-fixes-2.6 bk trees either.

Look, I'm really sorry but the dog got over excited on bonfire night and knocked my crystal ball onto the floor and broke it. So, until I can get a new one on the National Elf Service, could you assume that if you actually need me to apply a patch instead of getting it folded into an aacraid update from you, you actually have to tell me this.

Sorry, I didn't mean to imply anything on your part. I had thought that a patch had been submitted and may have just still been in the queue.

Sorry,
Mark.

(Tom, could you send the patch to James?)

Signature · 1 line
Mark Haverkamp <[email protected]>
#6 lore raw
Quoted 2 lines · Mark Haverkamp

Sorry, I didn't mean to imply anything on your part. I had thought that a patch had been submitted and may have just still been in the queue.

That's OK. I have the patch in the archives. But usually if I see a patch for a maintained driver go by, I wait to see what the maintainer does with it. Usually they either fold it into their own queue or tell me to apply it. If I hear nothing about it, I assume the former.

I'll dig the patch out and put it in the current tree.

James