From owner-svn-src-stable-7@FreeBSD.ORG Wed Jan 18 21:51:56 2012 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3AD8106564A; Wed, 18 Jan 2012 21:51:56 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C1DFD8FC29; Wed, 18 Jan 2012 21:51:56 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q0ILpuwq058501; Wed, 18 Jan 2012 21:51:56 GMT (envelope-from truckman@svn.freebsd.org) Received: (from truckman@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q0ILpurr058499; Wed, 18 Jan 2012 21:51:56 GMT (envelope-from truckman@svn.freebsd.org) Message-Id: <201201182151.q0ILpurr058499@svn.freebsd.org> From: Don Lewis Date: Wed, 18 Jan 2012 21:51:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r230319 - stable/7/sys/dev/pst X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 21:51:56 -0000 Author: truckman Date: Wed Jan 18 21:51:56 2012 New Revision: 230319 URL: http://svn.freebsd.org/changeset/base/230319 Log: MFC: r229984 Pass the arguments to mtx_init() in the correct order. There should be no change to the binary because the value of MTX_DEF is zero and there is a visible function prototype. Modified: stable/7/sys/dev/pst/pst-pci.c Directory Properties: stable/7/sys/ (props changed) Modified: stable/7/sys/dev/pst/pst-pci.c ============================================================================== --- stable/7/sys/dev/pst/pst-pci.c Wed Jan 18 21:50:59 2012 (r230318) +++ stable/7/sys/dev/pst/pst-pci.c Wed Jan 18 21:51:56 2012 (r230319) @@ -95,7 +95,7 @@ iop_pci_attach(device_t dev) sc->ibase = rman_get_virtual(sc->r_mem); sc->reg = (struct i2o_registers *)sc->ibase; sc->dev = dev; - mtx_init(&sc->mtx, "pst lock", MTX_DEF, 0); + mtx_init(&sc->mtx, "pst lock", NULL, MTX_DEF); if (!iop_init(sc)) return 0;