diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2005-10-21 09:22:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 17:16:50 +0200 |
commit | c53033f6b0bd7cc133b7f433083f0394cf29ac70 (patch) | |
tree | 0e53b6f65b41f69de987e6b2a96248218933d497 /drivers/scsi/hosts.c | |
parent | [PATCH] gfp_t: kernel/* (diff) | |
download | linux-c53033f6b0bd7cc133b7f433083f0394cf29ac70.tar.xz linux-c53033f6b0bd7cc133b7f433083f0394cf29ac70.zip |
[PATCH] gfp_t: drivers/scsi
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/hosts.c')
-rw-r--r-- | drivers/scsi/hosts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 02fe371b0ab8..f24d84538fd5 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -287,7 +287,8 @@ static void scsi_host_dev_release(struct device *dev) struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) { struct Scsi_Host *shost; - int gfp_mask = GFP_KERNEL, rval; + gfp_t gfp_mask = GFP_KERNEL; + int rval; if (sht->unchecked_isa_dma && privsize) gfp_mask |= __GFP_DMA; |