diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2016-08-09 07:30:02 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-08-25 23:39:25 -0400 |
commit | 39f275740483141cc598cebeaada76581a615c6b (patch) | |
tree | d3ae696a0b4726f8ea94034c225bfddefea23d6b /drivers/scsi/aic94xx/aic94xx_hwi.c | |
parent | 0d5644b7d8daa3c1d91acb4367731f568c9c9469 (diff) |
scsi: aic94xx: Add missing error code assignment before test
It is likely that checking the result of 'pci_write_config_dword' is
expected here.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_hwi.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_hwi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_hwi.c b/drivers/scsi/aic94xx/aic94xx_hwi.c index 0fdc98bc2338..7c713f797535 100644 --- a/drivers/scsi/aic94xx/aic94xx_hwi.c +++ b/drivers/scsi/aic94xx/aic94xx_hwi.c | |||
@@ -632,7 +632,7 @@ int asd_init_hw(struct asd_ha_struct *asd_ha) | |||
632 | pci_name(asd_ha->pcidev)); | 632 | pci_name(asd_ha->pcidev)); |
633 | return err; | 633 | return err; |
634 | } | 634 | } |
635 | pci_write_config_dword(asd_ha->pcidev, PCIC_HSTPCIX_CNTRL, | 635 | err = pci_write_config_dword(asd_ha->pcidev, PCIC_HSTPCIX_CNTRL, |
636 | v | SC_TMR_DIS); | 636 | v | SC_TMR_DIS); |
637 | if (err) { | 637 | if (err) { |
638 | asd_printk("couldn't disable split completion timer of %s\n", | 638 | asd_printk("couldn't disable split completion timer of %s\n", |