summary refs log tree commit diff
path: root/security/security.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-02-20 13:29:05 +0000
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-02-22 09:08:13 -0600
commit69e562c234440fb7410877b5b24f4b29ef8521d1 (patch)
treeb0db2e22c52d3e085eb5bbe4925e0d921267884d /security/security.c
parentad008d42bcec99911b3270a8349f8ec8405a1c4e (diff)
downloadlinux-69e562c234440fb7410877b5b24f4b29ef8521d1.tar.gz
[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 'security/security.c')
0 files changed, 0 insertions, 0 deletions