diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-24 21:55:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-24 23:07:49 -0400 |
commit | 3cc27547d6ee2d50ecdd11e9127bc3cd1947e8dd (patch) | |
tree | d70857f363fea3f8bc928bd2fd10d9a277c119bd /drivers/scsi/aic94xx/aic94xx_task.c | |
parent | 855fc73bf81e8f99606d6f5914c5b7c3b079d718 (diff) |
[PATCH] SCSI gfp_t annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_task.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_task.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c index 285e70dae933..d202ed5a6709 100644 --- a/drivers/scsi/aic94xx/aic94xx_task.c +++ b/drivers/scsi/aic94xx/aic94xx_task.c | |||
@@ -53,7 +53,7 @@ static const u8 data_dir_flags[] = { | |||
53 | 53 | ||
54 | static inline int asd_map_scatterlist(struct sas_task *task, | 54 | static inline int asd_map_scatterlist(struct sas_task *task, |
55 | struct sg_el *sg_arr, | 55 | struct sg_el *sg_arr, |
56 | unsigned long gfp_flags) | 56 | gfp_t gfp_flags) |
57 | { | 57 | { |
58 | struct asd_ascb *ascb = task->lldd_task; | 58 | struct asd_ascb *ascb = task->lldd_task; |
59 | struct asd_ha_struct *asd_ha = ascb->ha; | 59 | struct asd_ha_struct *asd_ha = ascb->ha; |
@@ -368,7 +368,7 @@ Again: | |||
368 | /* ---------- ATA ---------- */ | 368 | /* ---------- ATA ---------- */ |
369 | 369 | ||
370 | static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, | 370 | static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, |
371 | unsigned long gfp_flags) | 371 | gfp_t gfp_flags) |
372 | { | 372 | { |
373 | struct domain_device *dev = task->dev; | 373 | struct domain_device *dev = task->dev; |
374 | struct scb *scb; | 374 | struct scb *scb; |
@@ -437,7 +437,7 @@ static void asd_unbuild_ata_ascb(struct asd_ascb *a) | |||
437 | /* ---------- SMP ---------- */ | 437 | /* ---------- SMP ---------- */ |
438 | 438 | ||
439 | static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, | 439 | static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, |
440 | unsigned long gfp_flags) | 440 | gfp_t gfp_flags) |
441 | { | 441 | { |
442 | struct asd_ha_struct *asd_ha = ascb->ha; | 442 | struct asd_ha_struct *asd_ha = ascb->ha; |
443 | struct domain_device *dev = task->dev; | 443 | struct domain_device *dev = task->dev; |
@@ -487,7 +487,7 @@ static void asd_unbuild_smp_ascb(struct asd_ascb *a) | |||
487 | /* ---------- SSP ---------- */ | 487 | /* ---------- SSP ---------- */ |
488 | 488 | ||
489 | static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, | 489 | static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, |
490 | unsigned long gfp_flags) | 490 | gfp_t gfp_flags) |
491 | { | 491 | { |
492 | struct domain_device *dev = task->dev; | 492 | struct domain_device *dev = task->dev; |
493 | struct scb *scb; | 493 | struct scb *scb; |
@@ -550,7 +550,7 @@ static inline int asd_can_queue(struct asd_ha_struct *asd_ha, int num) | |||
550 | } | 550 | } |
551 | 551 | ||
552 | int asd_execute_task(struct sas_task *task, const int num, | 552 | int asd_execute_task(struct sas_task *task, const int num, |
553 | unsigned long gfp_flags) | 553 | gfp_t gfp_flags) |
554 | { | 554 | { |
555 | int res = 0; | 555 | int res = 0; |
556 | LIST_HEAD(alist); | 556 | LIST_HEAD(alist); |