From: Daniel Drake Date: Wed, 20 Feb 2008 13:29:05 +0000 (+0000) Subject: [SCSI] arcmsr: fix message allocation X-Git-Tag: v2.6.25-rc3~69^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69e562c234440fb7410877b5b24f4b29ef8521d1;p=pandora-kernel.git [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 Cc: Nick Cheng Signed-off-by: James Bottomley --- Reading git-diff-tree failed