lint
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 6 Nov 1991 09:03:07 +0000 (01:03 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 6 Nov 1991 09:03:07 +0000 (01:03 -0800)
SCCS-vsn: sys/nfs/nfsmount.h 7.8
SCCS-vsn: sys/nfs/nfs_vfsops.c 7.33
SCCS-vsn: sys/hp300/hp300/machdep.c 7.20
SCCS-vsn: sys/hp300/dev/sd.c 7.11
SCCS-vsn: sys/hp300/dev/rd.c 7.12

usr/src/sys/hp300/dev/rd.c
usr/src/sys/hp300/dev/sd.c
usr/src/sys/hp300/hp300/machdep.c
usr/src/sys/nfs/nfs_vfsops.c
usr/src/sys/nfs/nfsmount.h

index a8a2fd9..c6c5895 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: rd.c 1.38 90/10/12$
  *
  *
  * from: Utah $Hdr: rd.c 1.38 90/10/12$
  *
- *     @(#)rd.c        7.11 (Berkeley) %G%
+ *     @(#)rd.c        7.12 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -1131,7 +1131,8 @@ rddump(dev)
 #endif
                        return (EIO);
                }
 #endif
                        return (EIO);
                }
-               pmap_enter(pmap_kernel(), vmmap, maddr, VM_PROT_READ, TRUE);
+               pmap_enter(pmap_kernel(), (vm_offset_t)vmmap, maddr,
+                   VM_PROT_READ, TRUE);
                hpibsend(hp->hp_ctlr, hp->hp_slave, C_EXEC, vmmap, NBPG);
                if (hpibswait(hp->hp_ctlr, hp->hp_slave)) {
 #ifdef DEBUG
                hpibsend(hp->hp_ctlr, hp->hp_slave, C_EXEC, vmmap, NBPG);
                if (hpibswait(hp->hp_ctlr, hp->hp_slave)) {
 #ifdef DEBUG
index 87ef8e6..d9604fc 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)sd.c        7.10 (Berkeley) %G%
+ *     @(#)sd.c        7.11 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -872,7 +872,8 @@ sddump(dev)
                if (i && (i % NPGMB) == 0)
                        printf("%d ", i / NPGMB);
 #undef NPBMG
                if (i && (i % NPGMB) == 0)
                        printf("%d ", i / NPGMB);
 #undef NPBMG
-               pmap_enter(pmap_kernel(), vmmap, maddr, VM_PROT_READ, TRUE);
+               pmap_enter(pmap_kernel(), (vm_offset_t)vmmap, maddr,
+                   VM_PROT_READ, TRUE);
                stat = scsi_tt_write(hp->hp_ctlr, hp->hp_slave, sc->sc_punit,
                                     vmmap, NBPG, baddr, sc->sc_bshift);
                if (stat) {
                stat = scsi_tt_write(hp->hp_ctlr, hp->hp_slave, sc->sc_punit,
                                     vmmap, NBPG, baddr, sc->sc_bshift);
                if (stat) {
index 84c5da2..892f77c 100644 (file)
@@ -11,7 +11,7 @@
  *
  * from: Utah $Hdr: machdep.c 1.63 91/04/24$
  *
  *
  * from: Utah $Hdr: machdep.c 1.63 91/04/24$
  *
- *     @(#)machdep.c   7.19 (Berkeley) %G%
+ *     @(#)machdep.c   7.20 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -146,8 +146,8 @@ cpu_startup()
 #endif
        /* avail_end was pre-decremented in pmap_bootstrap to compensate */
        for (i = 0; i < btoc(sizeof (struct msgbuf)); i++)
 #endif
        /* avail_end was pre-decremented in pmap_bootstrap to compensate */
        for (i = 0; i < btoc(sizeof (struct msgbuf)); i++)
-               pmap_enter(pmap_kernel(), msgbufp, avail_end + i * NBPG,
-                          VM_PROT_ALL, TRUE);
+               pmap_enter(pmap_kernel(), (vm_offset_t)msgbufp,
+                   avail_end + i * NBPG, VM_PROT_ALL, TRUE);
        msgbufmapped = 1;
 
        /*
        msgbufmapped = 1;
 
        /*
@@ -1313,7 +1313,8 @@ findparerror()
        looking = 1;
        ecacheoff();
        for (pg = btoc(lowram); pg < btoc(lowram)+physmem; pg++) {
        looking = 1;
        ecacheoff();
        for (pg = btoc(lowram); pg < btoc(lowram)+physmem; pg++) {
-               pmap_enter(pmap_kernel(), vmmap, ctob(pg), VM_PROT_READ, TRUE);
+               pmap_enter(pmap_kernel(), (vm_offset_t)vmmap, ctob(pg),
+                   VM_PROT_READ, TRUE);
                for (o = 0; o < NBPG; o += sizeof(int))
                        i = *(int *)(&vmmap[o]);
        }
                for (o = 0; o < NBPG; o += sizeof(int))
                        i = *(int *)(&vmmap[o]);
        }
@@ -1324,7 +1325,8 @@ findparerror()
        found = 0;
 done:
        looking = 0;
        found = 0;
 done:
        looking = 0;
-       pmap_remove(pmap_kernel(), vmmap, &vmmap[NBPG]);
+       pmap_remove(pmap_kernel(), (vm_offset_t)vmmap,
+           (vm_offset_t)&vmmap[NBPG]);
        ecacheon();
        splx(s);
        return(found);
        ecacheon();
        splx(s);
        return(found);
index 79f124b..aad44e7 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)nfs_vfsops.c        7.32 (Berkeley) %G%
+ *     @(#)nfs_vfsops.c        7.33 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -560,15 +560,14 @@ nfs_start(mp, flags, p)
 /*
  * Do operations associated with quotas, not supported
  */
 /*
  * Do operations associated with quotas, not supported
  */
+/* ARGSUSED */
 nfs_quotactl(mp, cmd, uid, arg, p)
        struct mount *mp;
        int cmd;
 nfs_quotactl(mp, cmd, uid, arg, p)
        struct mount *mp;
        int cmd;
-       uid_t uid;
+       u_int uid;
        caddr_t arg;
        struct proc *p;
 {
        caddr_t arg;
        struct proc *p;
 {
-#ifdef lint
-       mp = mp; cmd = cmd; uid = uid; arg = arg;
-#endif /* lint */
+
        return (EOPNOTSUPP);
 }
        return (EOPNOTSUPP);
 }
index 4043ae7..b7c5fe0 100644 (file)
@@ -7,7 +7,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)nfsmount.h  7.7 (Berkeley) %G%
+ *     @(#)nfsmount.h  7.8 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -71,7 +71,7 @@ int   nfs_root __P((
 int    nfs_quotactl __P((
                struct mount *mp,
                int cmds,
 int    nfs_quotactl __P((
                struct mount *mp,
                int cmds,
-               int uid,        /* should be uid_t */
+               u_int uid,      /* should be uid_t */
                caddr_t arg,
                struct proc *p));
 int    nfs_statfs __P((
                caddr_t arg,
                struct proc *p));
 int    nfs_statfs __P((