From 59e9026779cf4a22e08153f0b7702f8167fb44c7 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sat, 1 Jul 2017 23:18:46 +0300 Subject: [PATCH] =?utf8?q?9221=20cpqary3:=20this=20statement=20may=20fall?= =?utf8?q?=20through=209261=20cpqary3:=20wrong=20value=20is=20used=20in=20?= =?utf8?q?panic=20message=20Reviewed=20by:=20Yuri=20Pankov=20=20Reviewed=20by:=20Andy=20Fiddaman=20=20Reviewed=20by:=20Gerg=C5=91=20Mih=C3=A1ly=20Doma=20=20Approved=20by:=20Hans=20Rosenfeld=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- usr/src/uts/common/io/cpqary3/cpqary3_transport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/src/uts/common/io/cpqary3/cpqary3_transport.c b/usr/src/uts/common/io/cpqary3/cpqary3_transport.c index 1880bba69b..ba1e0fa6c0 100644 --- a/usr/src/uts/common/io/cpqary3/cpqary3_transport.c +++ b/usr/src/uts/common/io/cpqary3/cpqary3_transport.c @@ -480,11 +480,12 @@ cpqary3_dma_alloc(cpqary3_t *cpqary3p, struct scsi_pkt *scsi_pktp, case DDI_DMA_INUSE: cmn_err(CE_PANIC, "CPQary3: Another I/O transaction " "is using the DMA handle"); + break; default: cmn_err(CE_PANIC, "CPQary3: Unexpected ERROR " "returned from Call to Bind Buffer " - "to Handle : 0x%X", i); + "to Handle : 0x%X", retvalue); } ddi_dma_free_handle(&cpqary3_pktp->cmd_dmahandle); -- 2.11.4.GIT