diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-10 17:47:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 18:37:23 -0400 |
commit | fa1f5ea860af34d74c1475eddde3364e71fac15d (patch) | |
tree | e52736f361bea819db6750a372ba27e0f1a43f24 /drivers/scsi | |
parent | 86f93336543314ffc46787845b631029cf11d6f8 (diff) |
[PATCH] gfp annotations: scsi_error
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/scsi_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 3d355d054612..aff1b0cfd4b2 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c | |||
@@ -495,7 +495,7 @@ static int scsi_send_eh_cmnd(struct scsi_cmnd *scmd, unsigned char *cmnd, | |||
495 | memcpy(scmd->cmnd, cmnd, cmnd_size); | 495 | memcpy(scmd->cmnd, cmnd, cmnd_size); |
496 | 496 | ||
497 | if (copy_sense) { | 497 | if (copy_sense) { |
498 | int gfp_mask = GFP_ATOMIC; | 498 | gfp_t gfp_mask = GFP_ATOMIC; |
499 | 499 | ||
500 | if (shost->hostt->unchecked_isa_dma) | 500 | if (shost->hostt->unchecked_isa_dma) |
501 | gfp_mask |= __GFP_DMA; | 501 | gfp_mask |= __GFP_DMA; |