cvs commit: src/sys/dev/ata ata-all.c ata-chipset.c ata-disk.c atapi-cd.c atapi-fd.c atapi-tape.c

Don Lewis truckman at FreeBSD.org
Tue Jun 22 10:39:09 PDT 2004


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 at 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;



More information about the cvs-src mailing list