From 3fe62e70a80922bd0110541babd37ee02784c734 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Tue, 2 Jun 2009 16:24:38 +0000 Subject: [PATCH] Fix compilation error in some strange circumstances, I think change is harmless. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@889 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/linux/isp_scst.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qla_isp/linux/isp_scst.c b/qla_isp/linux/isp_scst.c index 4f7e13dfb..f5da89425 100644 --- a/qla_isp/linux/isp_scst.c +++ b/qla_isp/linux/isp_scst.c @@ -894,7 +894,7 @@ scsi_target_handler(qact_e action, void *arg) { enadis_t *ep = arg; if (ep->en_private) { - up(ep->en_private); + up((struct semaphore *)ep->en_private); } break; } @@ -902,7 +902,7 @@ scsi_target_handler(qact_e action, void *arg) { enadis_t *ep = arg; if (ep->en_private) { - up(ep->en_private); + up((struct semaphore *)ep->en_private); } break; }