1
0
Files
linux/drivers/scsi
Bart Van Assche 27873de99f scsi: qla2xxx: Fix a recently introduced memory leak
qla2x00_probe_one() allocates IRQs before it initializes rsp_q_map so
IRQs must be freed even if rsp_q_map allocation did not occur.  This was
detected by kmemleak.

Fixes: 4fa1834559 ("scsi: qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Michael Hernandez <michael.hernandez@cavium.com>
Cc: Himanshu Madhani <himanshu.madhani@cavium.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: <stable@vger.kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-By: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-01-24 17:20:31 -05:00
..
2016-02-23 21:27:02 -05:00
2016-11-08 17:29:56 -05:00
2016-11-17 20:15:26 -05:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2015-11-09 16:32:14 -08:00
2016-02-25 21:10:53 -05:00
2016-11-08 17:29:46 -05:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2016-02-23 21:27:02 -05:00
2016-11-28 15:51:31 -05:00
2016-11-14 13:16:42 -07:00
2016-10-18 19:49:11 -06:00
2016-02-23 21:27:02 -05:00
2016-09-04 01:28:08 -04:00
2015-11-18 11:59:09 -05:00
2016-02-23 21:27:02 -05:00