diff options
author | Daniel Drake <dsd@gentoo.org> | 2008-02-20 13:29:05 +0000 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-22 09:08:13 -0600 |
commit | 69e562c234440fb7410877b5b24f4b29ef8521d1 (patch) | |
tree | b0db2e22c52d3e085eb5bbe4925e0d921267884d /drivers/scsi/stex.c | |
parent | ad008d42bcec99911b3270a8349f8ec8405a1c4e (diff) |
[SCSI] arcmsr: fix message allocation
arcmsr_iop_message_xfer() is called from atomic context under the
queuecommand scsi_host_template handler. James Bottomley pointed out
that the current GFP_KERNEL|GFP_DMA flags are wrong: firstly we are in
atomic context, secondly this memory is not used for DMA.
Also removed some unneeded casts.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Cc: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/stex.c')
0 files changed, 0 insertions, 0 deletions