diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-15 07:41:38 +0800 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-10-01 12:16:45 +0200 |
commit | 5f17af054d6a782e7b582d300274d3143fddba5e (patch) | |
tree | e5ceb198ca59e20847aeba43b71becf1fbca0f53 /drivers/pcmcia | |
parent | be826ada52f1fcabed5b5217c94609ebf5967211 (diff) | |
download | linux-5f17af054d6a782e7b582d300274d3143fddba5e.tar.gz linux-5f17af054d6a782e7b582d300274d3143fddba5e.tar.bz2 linux-5f17af054d6a782e7b582d300274d3143fddba5e.zip |
pcmcia: add error handling for pcmcia_enable_device in qlogic_stub
When pcmcia_enable_device fails, the lack of error-handling code may
cause unexpected results.
This patch adds error-handling code after calling pcmcia_enable_device
in the qlogic_stub scsi driver.
Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com>
Cc: James E.J. Bottomley <jejb@linux.vnet.ibm.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
[linux@dominikbrodowski.net: update commit message]
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions