svn commit: r194851 - head/sys/dev/mfi

Scott Long scottl at FreeBSD.org
Wed Jun 24 16:11:30 UTC 2009


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;


More information about the svn-src-all mailing list