mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
aacraid: fix build with AACRAID_DEBUG=2
MFC after: 10 days
This commit is contained in:
parent
2ef6e7aea8
commit
f0985602f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315083
@ -243,10 +243,12 @@ static int
|
||||
aac_cam_probe(device_t dev)
|
||||
{
|
||||
struct aac_cam *camsc;
|
||||
struct aac_softc *sc;
|
||||
|
||||
camsc = (struct aac_cam *)device_get_softc(dev);
|
||||
if (!camsc->inf)
|
||||
return (0);
|
||||
sc = camsc->inf->aac_sc;
|
||||
fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "");
|
||||
return (0);
|
||||
}
|
||||
@ -1134,8 +1136,10 @@ static void
|
||||
aac_container_complete(struct aac_command *cm)
|
||||
{
|
||||
union ccb *ccb;
|
||||
struct aac_softc *sc;
|
||||
u_int32_t status;
|
||||
|
||||
sc = cm->cm_sc;
|
||||
fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "");
|
||||
ccb = cm->cm_ccb;
|
||||
status = ((u_int32_t *)cm->cm_fib->data)[0];
|
||||
|
Loading…
Reference in New Issue
Block a user