diff options
Diffstat (limited to 'drivers/scsi/aic7xxx')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx.h | 2 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx.h | 2 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_core.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h index be5558ab84e..95ee5038518 100644 --- a/drivers/scsi/aic7xxx/aic79xx.h +++ b/drivers/scsi/aic7xxx/aic79xx.h | |||
@@ -672,7 +672,7 @@ struct scb_data { | |||
672 | /************************ Target Mode Definitions *****************************/ | 672 | /************************ Target Mode Definitions *****************************/ |
673 | 673 | ||
674 | /* | 674 | /* |
675 | * Connection desciptor for select-in requests in target mode. | 675 | * Connection descriptor for select-in requests in target mode. |
676 | */ | 676 | */ |
677 | struct target_cmd { | 677 | struct target_cmd { |
678 | uint8_t scsiid; /* Our ID and the initiator's ID */ | 678 | uint8_t scsiid; /* Our ID and the initiator's ID */ |
diff --git a/drivers/scsi/aic7xxx/aic7xxx.h b/drivers/scsi/aic7xxx/aic7xxx.h index e4e651cca3e..17444bc18bc 100644 --- a/drivers/scsi/aic7xxx/aic7xxx.h +++ b/drivers/scsi/aic7xxx/aic7xxx.h | |||
@@ -618,7 +618,7 @@ struct scb_data { | |||
618 | /************************ Target Mode Definitions *****************************/ | 618 | /************************ Target Mode Definitions *****************************/ |
619 | 619 | ||
620 | /* | 620 | /* |
621 | * Connection desciptor for select-in requests in target mode. | 621 | * Connection descriptor for select-in requests in target mode. |
622 | */ | 622 | */ |
623 | struct target_cmd { | 623 | struct target_cmd { |
624 | uint8_t scsiid; /* Our ID and the initiator's ID */ | 624 | uint8_t scsiid; /* Our ID and the initiator's ID */ |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c index 3f5a542a779..e021b4812d5 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_core.c +++ b/drivers/scsi/aic7xxx/aic7xxx_core.c | |||
@@ -4780,7 +4780,7 @@ ahc_init_scbdata(struct ahc_softc *ahc) | |||
4780 | SLIST_INIT(&scb_data->sg_maps); | 4780 | SLIST_INIT(&scb_data->sg_maps); |
4781 | 4781 | ||
4782 | /* Allocate SCB resources */ | 4782 | /* Allocate SCB resources */ |
4783 | scb_data->scbarray = (struct scb *)kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC); | 4783 | scb_data->scbarray = kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC); |
4784 | if (scb_data->scbarray == NULL) | 4784 | if (scb_data->scbarray == NULL) |
4785 | return (ENOMEM); | 4785 | return (ENOMEM); |
4786 | memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC); | 4786 | memset(scb_data->scbarray, 0, sizeof(struct scb) * AHC_SCB_MAX_ALLOC); |