aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic94xx/aic94xx_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_task.c')
-rw-r--r--drivers/scsi/aic94xx/aic94xx_task.c10
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
54static inline int asd_map_scatterlist(struct sas_task *task, 54static 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
370static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, 370static 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
439static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, 439static 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
489static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, 489static 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
552int asd_execute_task(struct sas_task *task, const int num, 552int 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);