linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch submission question [not in the FAQ]
@ 2007-12-05 11:36 Gabriele Gorla
  2007-12-05 12:36 ` WANG Cong
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gabriele Gorla @ 2007-12-05 11:36 UTC (permalink / raw)
  To: linux-kernel

Hello,
I have submitted a patch for the 3x-xxxx driver on
alpha several months ago to both the driver maintainer
and the linux-scsi mailing list.
I have read all the FAQ and I tried to stick to the
instructions to the letter.
However the patch has been completely ignored. No
reply, no comment, no flames, absolutely nothing...

the original email submission is at the end of the
email.

could anyone please explain what I am doing wrong?

thanks,
GG


[PATCH 2.6.22] 3w-xxxx: Fix bad unaligned accesses on
alpha SMP

disable packing of the TAG_TW_Device_Extension
structure to prevent kernel unaligned accesses when
accessing ioctl_wqueue.
Fixes smartmontools kernel panic on alpha SMP

Signed-off-by: Gabriele Gorla <gorlik@yahoo.com>
---


--- linux-2.6.22/drivers/scsi/3w-xxxx.h.orig
2007-09-01 17:49:22.000000000 -0700
+++ linux-2.6.22/drivers/scsi/3w-xxxx.h 2007-09-01
17:49:45.000000000 -0700
@@ -392,6 +392,8 @@ typedef struct TAG_TW_Passthru
        unsigned char padding[12];
 } TW_Passthru;
 
+#pragma pack()
+
 typedef struct TAG_TW_Device_Extension {
        u32                     base_addr;
        unsigned long
*alignment_virtual_address[TW_Q_LENGTH];
@@ -430,6 +432,4 @@ typedef struct
TAG_TW_Device_Extension {
        wait_queue_head_t       ioctl_wqueue;
 } TW_Device_Extension;
 
-#pragma pack()
-
 #endif /* _3W_XXXX_H */


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-09 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-05 11:36 Patch submission question [not in the FAQ] Gabriele Gorla
2007-12-05 12:36 ` WANG Cong
2007-12-06 15:01 ` Jan Engelhardt
2007-12-06 21:37 ` adam radford
2007-12-09 12:57   ` Geert Uytterhoeven

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).