From owner-svn-src-stable-10@freebsd.org Thu Mar 23 08:10:44 2017 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02E1AD198BF; Thu, 23 Mar 2017 08:10:44 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C312E12D5; Thu, 23 Mar 2017 08:10:43 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2N8AgwZ090751; Thu, 23 Mar 2017 08:10:42 GMT (envelope-from avg@FreeBSD.org) Received: (from avg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2N8AgLn090750; Thu, 23 Mar 2017 08:10:42 GMT (envelope-from avg@FreeBSD.org) Message-Id: <201703230810.v2N8AgLn090750@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avg set sender to avg@FreeBSD.org using -f From: Andriy Gapon Date: Thu, 23 Mar 2017 08:10:42 +0000 (UTC) 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 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2017 08:10:44 -0000 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;