summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-10-03 03:55:25 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 20:53:02 +0200
commit05848b6e66ee237c4496c2b49821d2622b0f677e (patch)
tree49055abae9e9387934be0734aa8ff3eb3ee4664d /arch
parent[SCSI] advansys: Restructure asc_execute_scsi_cmnd() (diff)
downloadlinux-05848b6e66ee237c4496c2b49821d2622b0f677e.tar.xz
linux-05848b6e66ee237c4496c2b49821d2622b0f677e.zip
[SCSI] advansys: Fix simultaneous calls to ->queuecommand
The narrow board used two global structures to set up a command; unfortunately they weren't locked, so with two boards in the machine, one call to queuecommand could corrupt the data being used by the other call to queuecommand. Fix this by allocating asc_scsi_q on the stack (64 bytes) and using kmalloc for the asc_sg_head (2k) Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions