From owner-svn-src-all@FreeBSD.ORG Wed Jun 24 16:11:29 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A05E106564A; Wed, 24 Jun 2009 16:11:29 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 886658FC0A; Wed, 24 Jun 2009 16:11:29 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5OGBT4e019850; Wed, 24 Jun 2009 16:11:29 GMT (envelope-from scottl@svn.freebsd.org) Received: (from scottl@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5OGBTaI019848; Wed, 24 Jun 2009 16:11:29 GMT (envelope-from scottl@svn.freebsd.org) Message-Id: <200906241611.n5OGBTaI019848@svn.freebsd.org> From: Scott Long Date: Wed, 24 Jun 2009 16:11:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194851 - head/sys/dev/mfi X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 16:11:30 -0000 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;