aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 13:05:56 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 13:05:56 -0500
commit008d23e4852d78bb2618f2035f8b2110b6a6b968 (patch)
tree81c88f744f6f3fc84132527c1ddc0b4da410c5e2 /drivers/scsi
parent8f685fbda43deccd130d192c9fcef1444649eaca (diff)
parentbfc672dcf323877228682aff79dff8ecd9f30ff8 (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits) Documentation/trace/events.txt: Remove obsolete sched_signal_send. writeback: fix global_dirty_limits comment runtime -> real-time ppc: fix comment typo singal -> signal drivers: fix comment typo diable -> disable. m68k: fix comment typo diable -> disable. wireless: comment typo fix diable -> disable. media: comment typo fix diable -> disable. remove doc for obsolete dynamic-printk kernel-parameter remove extraneous 'is' from Documentation/iostats.txt Fix spelling milisec -> ms in snd_ps3 module parameter description Fix spelling mistakes in comments Revert conflicting V4L changes i7core_edac: fix typos in comments mm/rmap.c: fix comment sound, ca0106: Fix assignment to 'channel'. hrtimer: fix a typo in comment init/Kconfig: fix typo anon_inodes: fix wrong function name in comment fix comment typos concerning "consistent" poll: fix a typo in comment ... Fix up trivial conflicts in: - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c) - fs/ext4/ext4.h Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/a100u2w.c2
-rw-r--r--drivers/scsi/aacraid/commsup.c2
-rw-r--r--drivers/scsi/aic7xxx_old/aic7xxx.seq2
-rw-r--r--drivers/scsi/aic94xx/aic94xx_reg_def.h4
-rw-r--r--drivers/scsi/aic94xx/aic94xx_scb.c2
-rw-r--r--drivers/scsi/aic94xx/aic94xx_seq.c6
-rw-r--r--drivers/scsi/bfa/bfa_fcpim.c2
-rw-r--r--drivers/scsi/bfa/bfa_fcs_lport.c2
-rw-r--r--drivers/scsi/dc395x.c8
-rw-r--r--drivers/scsi/libfc/fc_fcp.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c2
-rw-r--r--drivers/scsi/megaraid.h2
-rw-r--r--drivers/scsi/megaraid/megaraid_mm.c2
-rw-r--r--drivers/scsi/pm8001/pm8001_init.c2
-rw-r--r--drivers/scsi/scsi_netlink.c2
-rw-r--r--drivers/scsi/scsi_sysfs.c6
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.c2
20 files changed, 29 insertions, 27 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c
index dc5ac6e528c4..a391090a17c5 100644
--- a/drivers/scsi/a100u2w.c
+++ b/drivers/scsi/a100u2w.c
@@ -416,7 +416,7 @@ static u8 orc_load_firmware(struct orc_host * host)
416 /* Go back and check they match */ 416 /* Go back and check they match */
417 417
418 outb(PRGMRST | DOWNLOAD, host->base + ORC_RISCCTL); /* Reset program count 0 */ 418 outb(PRGMRST | DOWNLOAD, host->base + ORC_RISCCTL); /* Reset program count 0 */
419 bios_addr -= 0x1000; /* Reset the BIOS adddress */ 419 bios_addr -= 0x1000; /* Reset the BIOS address */
420 for (i = 0, data32_ptr = (u8 *) & data32; /* Check the code */ 420 for (i = 0, data32_ptr = (u8 *) & data32; /* Check the code */
421 i < 0x1000; /* Firmware code size = 4K */ 421 i < 0x1000; /* Firmware code size = 4K */
422 i++, bios_addr++) { 422 i++, bios_addr++) {
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index afc9aeba5edb..060ac4bd5a14 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -91,7 +91,7 @@ void aac_fib_map_free(struct aac_dev *dev)
91 * aac_fib_setup - setup the fibs 91 * aac_fib_setup - setup the fibs
92 * @dev: Adapter to set up 92 * @dev: Adapter to set up
93 * 93 *
94 * Allocate the PCI space for the fibs, map it and then intialise the 94 * Allocate the PCI space for the fibs, map it and then initialise the
95 * fib area, the unmapped fib data and also the free list 95 * fib area, the unmapped fib data and also the free list
96 */ 96 */
97 97
diff --git a/drivers/scsi/aic7xxx_old/aic7xxx.seq b/drivers/scsi/aic7xxx_old/aic7xxx.seq
index 5997e7c3a191..1565be9ebd49 100644
--- a/drivers/scsi/aic7xxx_old/aic7xxx.seq
+++ b/drivers/scsi/aic7xxx_old/aic7xxx.seq
@@ -1178,7 +1178,7 @@ notFound:
1178/* 1178/*
1179 * Retrieve an SCB by SCBID first searching the disconnected list falling 1179 * Retrieve an SCB by SCBID first searching the disconnected list falling
1180 * back to DMA'ing the SCB down from the host. This routine assumes that 1180 * back to DMA'ing the SCB down from the host. This routine assumes that
1181 * ARG_1 is the SCBID of interrest and that SINDEX is the position in the 1181 * ARG_1 is the SCBID of interest and that SINDEX is the position in the
1182 * disconnected list to start the search from. If SINDEX is SCB_LIST_NULL, 1182 * disconnected list to start the search from. If SINDEX is SCB_LIST_NULL,
1183 * we go directly to the host for the SCB. 1183 * we go directly to the host for the SCB.
1184 */ 1184 */
diff --git a/drivers/scsi/aic94xx/aic94xx_reg_def.h b/drivers/scsi/aic94xx/aic94xx_reg_def.h
index 28aaf349c111..40273a747d29 100644
--- a/drivers/scsi/aic94xx/aic94xx_reg_def.h
+++ b/drivers/scsi/aic94xx/aic94xx_reg_def.h
@@ -1689,7 +1689,7 @@
1689#define PHY_START_CAL 0x01 1689#define PHY_START_CAL 0x01
1690 1690
1691/* 1691/*
1692 * HST_PCIX2 Registers, Addresss Range: (0x00-0xFC) 1692 * HST_PCIX2 Registers, Address Range: (0x00-0xFC)
1693 */ 1693 */
1694#define PCIX_REG_BASE_ADR 0xB8040000 1694#define PCIX_REG_BASE_ADR 0xB8040000
1695 1695
@@ -1802,7 +1802,7 @@
1802#define PCIC_TP_CTRL 0xFC 1802#define PCIC_TP_CTRL 0xFC
1803 1803
1804/* 1804/*
1805 * EXSI Registers, Addresss Range: (0x00-0xFC) 1805 * EXSI Registers, Address Range: (0x00-0xFC)
1806 */ 1806 */
1807#define EXSI_REG_BASE_ADR REG_BASE_ADDR_EXSI 1807#define EXSI_REG_BASE_ADR REG_BASE_ADDR_EXSI
1808 1808
diff --git a/drivers/scsi/aic94xx/aic94xx_scb.c b/drivers/scsi/aic94xx/aic94xx_scb.c
index c43698b1cb64..29593275201a 100644
--- a/drivers/scsi/aic94xx/aic94xx_scb.c
+++ b/drivers/scsi/aic94xx/aic94xx_scb.c
@@ -867,7 +867,7 @@ void asd_build_initiate_link_adm_task(struct asd_ascb *ascb, int phy_id,
867 * resources they have with this SCB, and then call this one at the 867 * resources they have with this SCB, and then call this one at the
868 * end of their timeout function. To do this, one should initialize 868 * end of their timeout function. To do this, one should initialize
869 * the ascb->timer.{function, data, expires} prior to calling the post 869 * the ascb->timer.{function, data, expires} prior to calling the post
870 * funcion. The timer is started by the post function. 870 * function. The timer is started by the post function.
871 */ 871 */
872void asd_ascb_timedout(unsigned long data) 872void asd_ascb_timedout(unsigned long data)
873{ 873{
diff --git a/drivers/scsi/aic94xx/aic94xx_seq.c b/drivers/scsi/aic94xx/aic94xx_seq.c
index 74374618010c..390168f62a13 100644
--- a/drivers/scsi/aic94xx/aic94xx_seq.c
+++ b/drivers/scsi/aic94xx/aic94xx_seq.c
@@ -797,7 +797,7 @@ static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha, int lseq)
797 int j; 797 int j;
798 /* Start from Page 1 of Mode 0 and 1. */ 798 /* Start from Page 1 of Mode 0 and 1. */
799 moffs = LSEQ_PAGE_SIZE + i*LSEQ_MODE_SCRATCH_SIZE; 799 moffs = LSEQ_PAGE_SIZE + i*LSEQ_MODE_SCRATCH_SIZE;
800 /* All the fields of page 1 can be intialized to 0. */ 800 /* All the fields of page 1 can be initialized to 0. */
801 for (j = 0; j < LSEQ_PAGE_SIZE; j += 4) 801 for (j = 0; j < LSEQ_PAGE_SIZE; j += 4)
802 asd_write_reg_dword(asd_ha, LmSCRATCH(lseq)+moffs+j,0); 802 asd_write_reg_dword(asd_ha, LmSCRATCH(lseq)+moffs+j,0);
803 } 803 }
@@ -938,7 +938,7 @@ static void asd_init_cseq_cio(struct asd_ha_struct *asd_ha)
938 asd_write_reg_dword(asd_ha, SCBPRO, 0); 938 asd_write_reg_dword(asd_ha, SCBPRO, 0);
939 asd_write_reg_dword(asd_ha, CSEQCON, 0); 939 asd_write_reg_dword(asd_ha, CSEQCON, 0);
940 940
941 /* Intialize CSEQ Mode 11 Interrupt Vectors. 941 /* Initialize CSEQ Mode 11 Interrupt Vectors.
942 * The addresses are 16 bit wide and in dword units. 942 * The addresses are 16 bit wide and in dword units.
943 * The values of their macros are in byte units. 943 * The values of their macros are in byte units.
944 * Thus we have to divide by 4. */ 944 * Thus we have to divide by 4. */
@@ -961,7 +961,7 @@ static void asd_init_cseq_cio(struct asd_ha_struct *asd_ha)
961 asd_write_reg_word(asd_ha, CPRGMCNT, cseq_idle_loop); 961 asd_write_reg_word(asd_ha, CPRGMCNT, cseq_idle_loop);
962 962
963 for (i = 0; i < 8; i++) { 963 for (i = 0; i < 8; i++) {
964 /* Intialize Mode n Link m Interrupt Enable. */ 964 /* Initialize Mode n Link m Interrupt Enable. */
965 asd_write_reg_dword(asd_ha, CMnINTEN(i), EN_CMnRSPMBXF); 965 asd_write_reg_dword(asd_ha, CMnINTEN(i), EN_CMnRSPMBXF);
966 /* Initialize Mode n Request Mailbox. */ 966 /* Initialize Mode n Request Mailbox. */
967 asd_write_reg_dword(asd_ha, CMnREQMBX(i), 0); 967 asd_write_reg_dword(asd_ha, CMnREQMBX(i), 0);
diff --git a/drivers/scsi/bfa/bfa_fcpim.c b/drivers/scsi/bfa/bfa_fcpim.c
index 9c410b21db6d..c0353cdca929 100644
--- a/drivers/scsi/bfa/bfa_fcpim.c
+++ b/drivers/scsi/bfa/bfa_fcpim.c
@@ -1838,7 +1838,7 @@ bfa_ioim_sm_cleanup_qfull(struct bfa_ioim_s *ioim, enum bfa_ioim_event event)
1838 1838
1839 case BFA_IOIM_SM_ABORT: 1839 case BFA_IOIM_SM_ABORT:
1840 /* 1840 /*
1841 * IO is alraedy being cleaned up implicitly 1841 * IO is already being cleaned up implicitly
1842 */ 1842 */
1843 ioim->io_cbfn = __bfa_cb_ioim_abort; 1843 ioim->io_cbfn = __bfa_cb_ioim_abort;
1844 break; 1844 break;
diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c
index 4e2eb92ba028..43fa986bb586 100644
--- a/drivers/scsi/bfa/bfa_fcs_lport.c
+++ b/drivers/scsi/bfa/bfa_fcs_lport.c
@@ -5646,7 +5646,7 @@ bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status)
5646 switch (status) { 5646 switch (status) {
5647 case BFA_STATUS_OK: 5647 case BFA_STATUS_OK:
5648 /* 5648 /*
5649 * Initialiaze the V-Port fields 5649 * Initialize the V-Port fields
5650 */ 5650 */
5651 __vport_fcid(vport) = vport->lps->lp_pid; 5651 __vport_fcid(vport) = vport->lps->lp_pid;
5652 vport->vport_stats.fdisc_accepts++; 5652 vport->vport_stats.fdisc_accepts++;
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index 8f1b5c8bf903..b0f8523e665f 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -3796,7 +3796,7 @@ static struct DeviceCtlBlk *device_alloc(struct AdapterCtlBlk *acb,
3796 * adapter_add_device - Adds the device instance to the adaptor instance. 3796 * adapter_add_device - Adds the device instance to the adaptor instance.
3797 * 3797 *
3798 * @acb: The adapter device to be updated 3798 * @acb: The adapter device to be updated
3799 * @dcb: A newly created and intialised device instance to add. 3799 * @dcb: A newly created and initialised device instance to add.
3800 **/ 3800 **/
3801static void adapter_add_device(struct AdapterCtlBlk *acb, 3801static void adapter_add_device(struct AdapterCtlBlk *acb,
3802 struct DeviceCtlBlk *dcb) 3802 struct DeviceCtlBlk *dcb)
@@ -4498,7 +4498,7 @@ static void __devinit adapter_init_chip(struct AdapterCtlBlk *acb)
4498 * init_adapter - Grab the resource for the card, setup the adapter 4498 * init_adapter - Grab the resource for the card, setup the adapter
4499 * information, set the card into a known state, create the various 4499 * information, set the card into a known state, create the various
4500 * tables etc etc. This basically gets all adapter information all up 4500 * tables etc etc. This basically gets all adapter information all up
4501 * to date, intialised and gets the chip in sync with it. 4501 * to date, initialised and gets the chip in sync with it.
4502 * 4502 *
4503 * @host: This hosts adapter structure 4503 * @host: This hosts adapter structure
4504 * @io_port: The base I/O port 4504 * @io_port: The base I/O port
@@ -4789,7 +4789,7 @@ static void banner_display(void)
4789 * that it finds in the system. The pci_dev strcuture indicates which 4789 * that it finds in the system. The pci_dev strcuture indicates which
4790 * instance we are being called from. 4790 * instance we are being called from.
4791 * 4791 *
4792 * @dev: The PCI device to intialize. 4792 * @dev: The PCI device to initialize.
4793 * @id: Looks like a pointer to the entry in our pci device table 4793 * @id: Looks like a pointer to the entry in our pci device table
4794 * that was actually matched by the PCI subsystem. 4794 * that was actually matched by the PCI subsystem.
4795 * 4795 *
@@ -4860,7 +4860,7 @@ fail:
4860 * dc395x_remove_one - Called to remove a single instance of the 4860 * dc395x_remove_one - Called to remove a single instance of the
4861 * adapter. 4861 * adapter.
4862 * 4862 *
4863 * @dev: The PCI device to intialize. 4863 * @dev: The PCI device to initialize.
4864 **/ 4864 **/
4865static void __devexit dc395x_remove_one(struct pci_dev *dev) 4865static void __devexit dc395x_remove_one(struct pci_dev *dev)
4866{ 4866{
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c
index cdc06cda76e5..5962d1a5a674 100644
--- a/drivers/scsi/libfc/fc_fcp.c
+++ b/drivers/scsi/libfc/fc_fcp.c
@@ -1250,7 +1250,7 @@ static void fc_lun_reset_send(unsigned long data)
1250/** 1250/**
1251 * fc_lun_reset() - Send a LUN RESET command to a device 1251 * fc_lun_reset() - Send a LUN RESET command to a device
1252 * and wait for the reply 1252 * and wait for the reply
1253 * @lport: The local port to sent the comand on 1253 * @lport: The local port to sent the command on
1254 * @fsp: The FCP packet that identifies the LUN to be reset 1254 * @fsp: The FCP packet that identifies the LUN to be reset
1255 * @id: The SCSI command ID 1255 * @id: The SCSI command ID
1256 * @lun: The LUN ID to be reset 1256 * @lun: The LUN ID to be reset
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index c06491b5862f..3512abb8a587 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -1335,7 +1335,7 @@ lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
1335} 1335}
1336 1336
1337/** 1337/**
1338 * lpfc_param_init - Intializes a cfg attribute 1338 * lpfc_param_init - Initializes a cfg attribute
1339 * 1339 *
1340 * Description: 1340 * Description:
1341 * Macro that given an attr e.g. hba_queue_depth expands 1341 * Macro that given an attr e.g. hba_queue_depth expands
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index f9f160ab2ee9..bb015960dbc9 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -2852,7 +2852,7 @@ lpfc_mbx_process_link_up(struct lpfc_hba *phba, struct lpfc_mbx_read_top *la)
2852 if (unlikely(!fcf_record)) { 2852 if (unlikely(!fcf_record)) {
2853 lpfc_printf_log(phba, KERN_ERR, 2853 lpfc_printf_log(phba, KERN_ERR,
2854 LOG_MBOX | LOG_SLI, 2854 LOG_MBOX | LOG_SLI,
2855 "2554 Could not allocate memmory for " 2855 "2554 Could not allocate memory for "
2856 "fcf record\n"); 2856 "fcf record\n");
2857 rc = -ENODEV; 2857 rc = -ENODEV;
2858 goto out; 2858 goto out;
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 462242dcdd0a..6d0b36aa3389 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -8071,7 +8071,7 @@ lpfc_pci_remove_one_s3(struct pci_dev *pdev)
8071 * the HBA. 8071 * the HBA.
8072 */ 8072 */
8073 8073
8074 /* HBA interrupt will be diabled after this call */ 8074 /* HBA interrupt will be disabled after this call */
8075 lpfc_sli_hba_down(phba); 8075 lpfc_sli_hba_down(phba);
8076 /* Stop kthread signal shall trigger work_done one more time */ 8076 /* Stop kthread signal shall trigger work_done one more time */
8077 kthread_stop(phba->worker_thread); 8077 kthread_stop(phba->worker_thread);
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 634b2fea9c4d..a359d2b873ce 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -10172,7 +10172,7 @@ lpfc_sli4_intr_handler(int irq, void *dev_id)
10172 * lpfc_sli4_queue_free - free a queue structure and associated memory 10172 * lpfc_sli4_queue_free - free a queue structure and associated memory
10173 * @queue: The queue structure to free. 10173 * @queue: The queue structure to free.
10174 * 10174 *
10175 * This function frees a queue structure and the DMAable memeory used for 10175 * This function frees a queue structure and the DMAable memory used for
10176 * the host resident queue. This function must be called after destroying the 10176 * the host resident queue. This function must be called after destroying the
10177 * queue on the HBA. 10177 * queue on the HBA.
10178 **/ 10178 **/
diff --git a/drivers/scsi/megaraid.h b/drivers/scsi/megaraid.h
index f5644745e24e..853411911b2e 100644
--- a/drivers/scsi/megaraid.h
+++ b/drivers/scsi/megaraid.h
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15/* 15/*
16 * Comand coalescing - This feature allows the driver to be able to combine 16 * Command coalescing - This feature allows the driver to be able to combine
17 * two or more commands and issue as one command in order to boost I/O 17 * two or more commands and issue as one command in order to boost I/O
18 * performance. Useful if the nature of the I/O is sequential. It is not very 18 * performance. Useful if the nature of the I/O is sequential. It is not very
19 * useful for random natured I/Os. 19 * useful for random natured I/Os.
diff --git a/drivers/scsi/megaraid/megaraid_mm.c b/drivers/scsi/megaraid/megaraid_mm.c
index a7008c0c24f9..25506c777381 100644
--- a/drivers/scsi/megaraid/megaraid_mm.c
+++ b/drivers/scsi/megaraid/megaraid_mm.c
@@ -224,7 +224,7 @@ mraid_mm_unlocked_ioctl(struct file *filep, unsigned int cmd,
224{ 224{
225 int err; 225 int err;
226 226
227 /* inconsistant: mraid_mm_compat_ioctl doesn't take the BKL */ 227 /* inconsistent: mraid_mm_compat_ioctl doesn't take the BKL */
228 mutex_lock(&mraid_mm_mutex); 228 mutex_lock(&mraid_mm_mutex);
229 err = mraid_mm_ioctl(filep, cmd, arg); 229 err = mraid_mm_ioctl(filep, cmd, arg);
230 mutex_unlock(&mraid_mm_mutex); 230 mutex_unlock(&mraid_mm_mutex);
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c
index f8c86b28f03f..b95285f3383f 100644
--- a/drivers/scsi/pm8001/pm8001_init.c
+++ b/drivers/scsi/pm8001/pm8001_init.c
@@ -603,7 +603,7 @@ static u32 pm8001_request_irq(struct pm8001_hba_info *pm8001_ha)
603#endif 603#endif
604 604
605intx: 605intx:
606 /* intialize the INT-X interrupt */ 606 /* initialize the INT-X interrupt */
607 rc = request_irq(pdev->irq, irq_handler, IRQF_SHARED, DRV_NAME, 607 rc = request_irq(pdev->irq, irq_handler, IRQF_SHARED, DRV_NAME,
608 SHOST_TO_SAS_HA(pm8001_ha->shost)); 608 SHOST_TO_SAS_HA(pm8001_ha->shost));
609 return rc; 609 return rc;
diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c
index d53e6503c6d5..a2ed201885ae 100644
--- a/drivers/scsi/scsi_netlink.c
+++ b/drivers/scsi/scsi_netlink.c
@@ -477,7 +477,7 @@ EXPORT_SYMBOL_GPL(scsi_nl_remove_driver);
477 477
478 478
479/** 479/**
480 * scsi_netlink_init - Called by SCSI subsystem to intialize 480 * scsi_netlink_init - Called by SCSI subsystem to initialize
481 * the SCSI transport netlink interface 481 * the SCSI transport netlink interface
482 * 482 *
483 **/ 483 **/
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index 4c68d36f9ac2..490ce213204e 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -864,13 +864,15 @@ int scsi_sysfs_add_sdev(struct scsi_device *sdev)
864 864
865 error = device_add(&sdev->sdev_gendev); 865 error = device_add(&sdev->sdev_gendev);
866 if (error) { 866 if (error) {
867 printk(KERN_INFO "error 1\n"); 867 sdev_printk(KERN_INFO, sdev,
868 "failed to add device: %d\n", error);
868 return error; 869 return error;
869 } 870 }
870 device_enable_async_suspend(&sdev->sdev_dev); 871 device_enable_async_suspend(&sdev->sdev_dev);
871 error = device_add(&sdev->sdev_dev); 872 error = device_add(&sdev->sdev_dev);
872 if (error) { 873 if (error) {
873 printk(KERN_INFO "error 2\n"); 874 sdev_printk(KERN_INFO, sdev,
875 "failed to add class device: %d\n", error);
874 device_del(&sdev->sdev_gendev); 876 device_del(&sdev->sdev_gendev);
875 return error; 877 return error;
876 } 878 }
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c
index 6b97ded9d45d..b4543f575f46 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -1866,7 +1866,7 @@ static pci_ers_result_t sym2_io_slot_dump(struct pci_dev *pdev)
1866 * 1866 *
1867 * This routine is similar to sym_set_workarounds(), except 1867 * This routine is similar to sym_set_workarounds(), except
1868 * that, at this point, we already know that the device was 1868 * that, at this point, we already know that the device was
1869 * successfully intialized at least once before, and so most 1869 * successfully initialized at least once before, and so most
1870 * of the steps taken there are un-needed here. 1870 * of the steps taken there are un-needed here.
1871 */ 1871 */
1872static void sym2_reset_workarounds(struct pci_dev *pdev) 1872static void sym2_reset_workarounds(struct pci_dev *pdev)