]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla4xxx: Fix an error handling path in 'qla4xxx_get_host_stats()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 2 Aug 2020 10:15:27 +0000 (12:15 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 25 Aug 2020 02:47:06 +0000 (22:47 -0400)
commit4a037efd961cc9a462cd56afa5472a7d34c19c08
tree4951ac406ee12da47f62374f8c07fe1f11d93e17
parent57da67970273a5fe89311550a3b856a1bf1fe18f
scsi: qla4xxx: Fix an error handling path in 'qla4xxx_get_host_stats()'

Update the size used in 'dma_free_coherent()' in order to match the one
used in the corresponding 'dma_alloc_coherent()'.

Link: https://lore.kernel.org/r/20200802101527.676054-1-christophe.jaillet@wanadoo.fr
Fixes: 91134c82dac3 ("[SCSI] qla4xxx: Add host statistics support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla4xxx/ql4_os.c