aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2025-09-15 11:08:00 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2025-09-16 22:19:59 -0400
commit803dfd83df33b7565f23aef597d5dd036adfa792 (patch)
tree5428f61ddd21f463963b9752ec43f50bbf43a5ed /drivers/usb/cdns3/cdns3-debug.h
parentscsi: lpfc: Abort outstanding ELS WQEs regardless of if rmmod is in progress (diff)
downloadlinux-803dfd83df33b7565f23aef597d5dd036adfa792.tar.gz
linux-803dfd83df33b7565f23aef597d5dd036adfa792.zip
scsi: lpfc: Clean up allocated queues when queue setup mbox commands fail
lpfc_sli4_queue_setup() does not allocate memory and is used for submitting CREATE_QUEUE mailbox commands. Thus, if such mailbox commands fail we should clean up by also freeing the memory allocated for the queues with lpfc_sli4_queue_destroy(). Change the intended clean up label for the lpfc_sli4_queue_setup() error case to out_destroy_queue. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Message-ID: <20250915180811.137530-4-justintee8345@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions