Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 10:38:43 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        sos@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ata ata-all.c ata-chipset.c ata-disk.c atapi-cd.c atapi-fd.c atapi-tape.c
Message-ID:  <200406221738.i5MHchnK051863@gw.catspoiler.org>
In-Reply-To: <200406221118.i5MBInxb038092@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 Jun, SXren Schmidt wrote:
> sos         2004-06-22 11:18:26 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/ata          ata-all.c ata-chipset.c ata-disk.c 
>                          atapi-cd.c atapi-fd.c atapi-tape.c 
>   Log:
>   Use the right ordering of args on mtx_init(). No functional changes
>   since the args in question was all zero's.
>   
>   Found by: Jimmy Olgeni <olgeni@FreeBSD.org>
>   
>   Revision  Changes    Path
>   1.214     +1 -1      src/sys/dev/ata/ata-all.c
>   1.75      +1 -1      src/sys/dev/ata/ata-chipset.c
>   1.173     +1 -1      src/sys/dev/ata/ata-disk.c
>   1.168     +1 -1      src/sys/dev/ata/atapi-cd.c
>   1.96      +1 -1      src/sys/dev/ata/atapi-fd.c
>   1.92      +1 -1      src/sys/dev/ata/atapi-tape.c

Here's another one:

Index: sys/dev/pst/pst-pci.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/pst/pst-pci.c,v
retrieving revision 1.6
diff -u -r1.6 pst-pci.c
--- sys/dev/pst/pst-pci.c	17 Mar 2004 17:50:39 -0000	1.6
+++ sys/dev/pst/pst-pci.c	19 Mar 2004 03:50:54 -0000
@@ -96,7 +96,7 @@
     sc->phys_ibase = vtophys(sc->ibase);
     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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406221738.i5MHchnK051863>