summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2009-06-24 16:11:29 +0000
committerscottl <scottl@FreeBSD.org>2009-06-24 16:11:29 +0000
commit562c7a91074e86043f325df4c80c6264419d9a28 (patch)
tree4daae5f8157ed44bbfde8d53cce6190acb40890a /sys/dev/mfi
parent296f64440649a27edf3232ebcc0405bdeda31b94 (diff)
downloadFreeBSD-src-562c7a91074e86043f325df4c80c6264419d9a28.zip
FreeBSD-src-562c7a91074e86043f325df4c80c6264419d9a28.tar.gz
fw_state ad cur_state are holding unsigned bitfields, so declare then
as unsigned as well. Submitted by: rdivacky
Diffstat (limited to 'sys/dev/mfi')
-rw-r--r--sys/dev/mfi/mfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c
index cfd8f1d..aaec669 100644
--- a/sys/dev/mfi/mfi.c
+++ b/sys/dev/mfi/mfi.c
@@ -230,7 +230,7 @@ mfi_issue_cmd_ppc(struct mfi_softc *sc,uint32_t bus_add,uint32_t frame_cnt)
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 = sc->mfi_read_fw_status(sc)& MFI_FWSTATE_MASK;
OpenPOWER on IntegriCloud