diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-18 13:37:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-18 13:37:40 -0400 |
commit | e16b396ce314b2bcdfe6c173fe075bf8e3432368 (patch) | |
tree | 640f0f56f2ea676647af4eb42d32fa56be2ee549 /drivers/scsi | |
parent | 7fd23a24717a327a66f3c32d11a20a2f169c824f (diff) | |
parent | e6e8dd5055a974935af1398c8648d4a9359b0ecb (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits)
doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore
Update cpuset info & webiste for cgroups
dcdbas: force SMI to happen when expected
arch/arm/Kconfig: remove one to many l's in the word.
asm-generic/user.h: Fix spelling in comment
drm: fix printk typo 'sracth'
Remove one to many n's in a word
Documentation/filesystems/romfs.txt: fixing link to genromfs
drivers:scsi Change printk typo initate -> initiate
serial, pch uart: Remove duplicate inclusion of linux/pci.h header
fs/eventpoll.c: fix spelling
mm: Fix out-of-date comments which refers non-existent functions
drm: Fix printk typo 'failled'
coh901318.c: Change initate to initiate.
mbox-db5500.c Change initate to initiate.
edac: correct i82975x error-info reported
edac: correct i82975x mci initialisation
edac: correct commented info
fs: update comments to point correct document
target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
...
Trivial conflict in fs/eventpoll.c (spelling vs addition)
Diffstat (limited to 'drivers/scsi')
-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 | ||||
-rw-r--r-- | drivers/scsi/megaraid.c | 4 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_base.c | 2 | ||||
-rw-r--r-- | drivers/scsi/osst.c | 10 | ||||
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_isr.c | 2 | ||||
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 2 |
8 files changed, 12 insertions, 14 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx.h b/drivers/scsi/aic7xxx/aic79xx.h index be5558ab84ea..95ee50385188 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 e4e651cca3e4..17444bc18bca 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 3f5a542a7793..e021b4812d58 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); |
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 9aa048525eb2..c212694a9714 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -1412,7 +1412,7 @@ megaraid_isr_memmapped(int irq, void *devp) | |||
1412 | * @nstatus - number of completed commands | 1412 | * @nstatus - number of completed commands |
1413 | * @status - status of the last command completed | 1413 | * @status - status of the last command completed |
1414 | * | 1414 | * |
1415 | * Complete the comamnds and call the scsi mid-layer callback hooks. | 1415 | * Complete the commands and call the scsi mid-layer callback hooks. |
1416 | */ | 1416 | */ |
1417 | static void | 1417 | static void |
1418 | mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status) | 1418 | mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status) |
@@ -4296,7 +4296,7 @@ mega_support_cluster(adapter_t *adapter) | |||
4296 | * @adapter - pointer to our soft state | 4296 | * @adapter - pointer to our soft state |
4297 | * @dma_handle - DMA address of the buffer | 4297 | * @dma_handle - DMA address of the buffer |
4298 | * | 4298 | * |
4299 | * Issue internal comamnds while interrupts are available. | 4299 | * Issue internal commands while interrupts are available. |
4300 | * We only issue direct mailbox commands from within the driver. ioctl() | 4300 | * We only issue direct mailbox commands from within the driver. ioctl() |
4301 | * interface using these routines can issue passthru commands. | 4301 | * interface using these routines can issue passthru commands. |
4302 | */ | 4302 | */ |
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index f875e818905f..bbd10c81fd9c 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c | |||
@@ -890,7 +890,7 @@ megasas_issue_blocked_cmd(struct megasas_instance *instance, | |||
890 | * @instance: Adapter soft state | 890 | * @instance: Adapter soft state |
891 | * @cmd_to_abort: Previously issued cmd to be aborted | 891 | * @cmd_to_abort: Previously issued cmd to be aborted |
892 | * | 892 | * |
893 | * MFI firmware can abort previously issued AEN comamnd (automatic event | 893 | * MFI firmware can abort previously issued AEN command (automatic event |
894 | * notification). The megasas_issue_blocked_abort_cmd() issues such abort | 894 | * notification). The megasas_issue_blocked_abort_cmd() issues such abort |
895 | * cmd and waits for return status. | 895 | * cmd and waits for return status. |
896 | * Max wait time is MEGASAS_INTERNAL_CMD_WAIT_TIME secs | 896 | * Max wait time is MEGASAS_INTERNAL_CMD_WAIT_TIME secs |
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 54de1d1af1a7..521e2182d45b 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c | |||
@@ -1484,7 +1484,7 @@ static int osst_read_back_buffer_and_rewrite(struct osst_tape * STp, struct osst | |||
1484 | int dbg = debugging; | 1484 | int dbg = debugging; |
1485 | #endif | 1485 | #endif |
1486 | 1486 | ||
1487 | if ((buffer = (unsigned char *)vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL) | 1487 | if ((buffer = vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL) |
1488 | return (-EIO); | 1488 | return (-EIO); |
1489 | 1489 | ||
1490 | printk(KERN_INFO "%s:I: Reading back %d frames from drive buffer%s\n", | 1490 | printk(KERN_INFO "%s:I: Reading back %d frames from drive buffer%s\n", |
@@ -2296,7 +2296,7 @@ static int osst_write_header(struct osst_tape * STp, struct osst_request ** aSRp | |||
2296 | if (STp->raw) return 0; | 2296 | if (STp->raw) return 0; |
2297 | 2297 | ||
2298 | if (STp->header_cache == NULL) { | 2298 | if (STp->header_cache == NULL) { |
2299 | if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) { | 2299 | if ((STp->header_cache = vmalloc(sizeof(os_header_t))) == NULL) { |
2300 | printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name); | 2300 | printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name); |
2301 | return (-ENOMEM); | 2301 | return (-ENOMEM); |
2302 | } | 2302 | } |
@@ -2484,7 +2484,7 @@ static int __osst_analyze_headers(struct osst_tape * STp, struct osst_request ** | |||
2484 | name, ppos, update_frame_cntr); | 2484 | name, ppos, update_frame_cntr); |
2485 | #endif | 2485 | #endif |
2486 | if (STp->header_cache == NULL) { | 2486 | if (STp->header_cache == NULL) { |
2487 | if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) { | 2487 | if ((STp->header_cache = vmalloc(sizeof(os_header_t))) == NULL) { |
2488 | printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name); | 2488 | printk(KERN_ERR "%s:E: Failed to allocate header cache\n", name); |
2489 | return 0; | 2489 | return 0; |
2490 | } | 2490 | } |
@@ -5851,9 +5851,7 @@ static int osst_probe(struct device *dev) | |||
5851 | /* if this is the first attach, build the infrastructure */ | 5851 | /* if this is the first attach, build the infrastructure */ |
5852 | write_lock(&os_scsi_tapes_lock); | 5852 | write_lock(&os_scsi_tapes_lock); |
5853 | if (os_scsi_tapes == NULL) { | 5853 | if (os_scsi_tapes == NULL) { |
5854 | os_scsi_tapes = | 5854 | os_scsi_tapes = kmalloc(osst_max_dev * sizeof(struct osst_tape *), GFP_ATOMIC); |
5855 | (struct osst_tape **)kmalloc(osst_max_dev * sizeof(struct osst_tape *), | ||
5856 | GFP_ATOMIC); | ||
5857 | if (os_scsi_tapes == NULL) { | 5855 | if (os_scsi_tapes == NULL) { |
5858 | write_unlock(&os_scsi_tapes_lock); | 5856 | write_unlock(&os_scsi_tapes_lock); |
5859 | printk(KERN_ERR "osst :E: Unable to allocate array for OnStream SCSI tapes.\n"); | 5857 | printk(KERN_ERR "osst :E: Unable to allocate array for OnStream SCSI tapes.\n"); |
diff --git a/drivers/scsi/qla4xxx/ql4_isr.c b/drivers/scsi/qla4xxx/ql4_isr.c index 6ffbe9727dff..03e028e6e809 100644 --- a/drivers/scsi/qla4xxx/ql4_isr.c +++ b/drivers/scsi/qla4xxx/ql4_isr.c | |||
@@ -1027,7 +1027,7 @@ void qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen) | |||
1027 | ((ddb_entry->default_time2wait + | 1027 | ((ddb_entry->default_time2wait + |
1028 | 4) * HZ); | 1028 | 4) * HZ); |
1029 | 1029 | ||
1030 | DEBUG2(printk("scsi%ld: ddb [%d] initate" | 1030 | DEBUG2(printk("scsi%ld: ddb [%d] initiate" |
1031 | " RELOGIN after %d seconds\n", | 1031 | " RELOGIN after %d seconds\n", |
1032 | ha->host_no, | 1032 | ha->host_no, |
1033 | ddb_entry->fw_ddb_index, | 1033 | ddb_entry->fw_ddb_index, |
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 3fc1d256636f..967836ef5ab2 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -812,7 +812,7 @@ static void qla4xxx_timer(struct scsi_qla_host *ha) | |||
812 | ); | 812 | ); |
813 | start_dpc++; | 813 | start_dpc++; |
814 | DEBUG(printk("scsi%ld:%d:%d: ddb [%d] " | 814 | DEBUG(printk("scsi%ld:%d:%d: ddb [%d] " |
815 | "initate relogin after" | 815 | "initiate relogin after" |
816 | " %d seconds\n", | 816 | " %d seconds\n", |
817 | ha->host_no, ddb_entry->bus, | 817 | ha->host_no, ddb_entry->bus, |
818 | ddb_entry->target, | 818 | ddb_entry->target, |