Date: Wed, 24 Jun 2009 16:11:29 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194851 - head/sys/dev/mfi Message-ID: <200906241611.n5OGBTaI019848@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: scottl Date: Wed Jun 24 16:11:29 2009 New Revision: 194851 URL: http://svn.freebsd.org/changeset/base/194851 Log: fw_state ad cur_state are holding unsigned bitfields, so declare then as unsigned as well. Submitted by: rdivacky Modified: head/sys/dev/mfi/mfi.c Modified: head/sys/dev/mfi/mfi.c ============================================================================== --- head/sys/dev/mfi/mfi.c Wed Jun 24 16:03:57 2009 (r194850) +++ head/sys/dev/mfi/mfi.c Wed Jun 24 16:11:29 2009 (r194851) @@ -230,7 +230,7 @@ mfi_issue_cmd_ppc(struct mfi_softc *sc,u 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906241611.n5OGBTaI019848>