svn commit: r315841 - stable/10/sys/dev/aacraid
Andriy Gapon
avg at FreeBSD.org
Thu Mar 23 08:10:44 UTC 2017
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;
More information about the svn-src-stable-10
mailing list