status is unsigned.
This commit is contained in:
parent
1a58d52748
commit
7d3d745b26
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mfi.c,v 1.17 2008/04/22 22:49:49 cegger Exp $ */
|
||||
/* $NetBSD: mfi.c,v 1.18 2008/06/24 10:08:43 gmcgarry Exp $ */
|
||||
/* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
|
||||
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.17 2008/04/22 22:49:49 cegger Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.18 2008/06/24 10:08:43 gmcgarry Exp $");
|
||||
|
||||
#include "bio.h"
|
||||
|
||||
@ -329,7 +329,7 @@ mfi_freemem(struct mfi_softc *sc, struct mfi_mem *mm)
|
||||
static int
|
||||
mfi_transition_firmware(struct mfi_softc *sc)
|
||||
{
|
||||
int32_t fw_state, cur_state;
|
||||
uint32_t fw_state, cur_state;
|
||||
int max_wait, i;
|
||||
|
||||
fw_state = mfi_fw_state(sc) & MFI_STATE_MASK;
|
||||
|
Loading…
Reference in New Issue
Block a user