Date: Thu, 23 Mar 2017 08:10:42 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r315841 - stable/10/sys/dev/aacraid Message-ID: <201703230810.v2N8AgLn090750@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Thu Mar 23 08:10:42 2017 New Revision: 315841 URL: https://svnweb.freebsd.org/changeset/base/315841 Log: MFC r315083: aacraid: fix build with AACRAID_DEBUG=2 Modified: stable/10/sys/dev/aacraid/aacraid_cam.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/aacraid/aacraid_cam.c ============================================================================== --- stable/10/sys/dev/aacraid/aacraid_cam.c Thu Mar 23 08:10:25 2017 (r315840) +++ stable/10/sys/dev/aacraid/aacraid_cam.c Thu Mar 23 08:10:42 2017 (r315841) @@ -244,6 +244,7 @@ aac_cam_probe(device_t dev) { struct aac_softc *sc; struct aac_cam *camsc; + struct aac_softc *sc; camsc = (struct aac_cam *)device_get_softc(dev); if (!camsc->inf) @@ -1137,6 +1138,7 @@ aac_container_complete(struct aac_comman { struct aac_softc *sc; union ccb *ccb; + struct aac_softc *sc; u_int32_t status; sc = cm->cm_sc; @@ -1146,7 +1148,7 @@ aac_container_complete(struct aac_comman if (cm->cm_flags & AAC_CMD_RESET) { ccb->ccb_h.status = CAM_SCSI_BUS_RESET; - } else if (status == ST_OK) { + } else if (status == ST_OK) { ccb->ccb_h.status = CAM_REQ_CMP; } else if (status == ST_NOT_READY) { ccb->ccb_h.status = CAM_BUSY;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703230810.v2N8AgLn090750>