tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] change ambiguous symbol \xA0 to whitespace



Some plain text files contain symbol with code 0xA0 which is unprintable code
and considered as broken unicode sequence.
---
 sys/arch/mac68k/nubus/cpi_nubus.c               |    8 ++++----
 sys/dev/microcode/atmel/atmel_intersil_fw.h     |    2 +-
 sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h |    2 +-
 sys/dev/microcode/atmel/atmel_rfmd_fw.h         |    2 +-
 sys/fs/puffs/puffs_vnops.c                      |   14 +++++++-------
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/sys/arch/mac68k/nubus/cpi_nubus.c 
b/sys/arch/mac68k/nubus/cpi_nubus.c
index 4c106da..2ef86b6 100644
--- a/sys/arch/mac68k/nubus/cpi_nubus.c
+++ b/sys/arch/mac68k/nubus/cpi_nubus.c
@@ -84,7 +84,7 @@ __KERNEL_RCSID(0, "$NetBSD$");
 #define TRACE_ALL      (cpi_debug_mask & M_TRACE_ALL)
 #define TRACE_NONE     (cpi_debug_mask & M_TRACE_NONE)
 
-uint32_t cpi_debug_mask = M_TRACE_NONE /* | M_TRACE_WRITE */ ;
+uint32_t cpi_debug_mask = M_TRACE_NONE /* | M_TRACE_WRITE */ ;
 
 #else
 #define TRACE_CONFIG   0
@@ -675,7 +675,7 @@ cpi_initclock(struct cpi_softc *sc)
        /* Disable counters A and B */
        reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_MCCR);
        z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_MCCR,
-           reg & ~(MCCR_CT1E | MCCR_CT2E));
+           reg & ~(MCCR_CT1E | MCCR_CT2E));
 
        /* Make sure interrupt enable bits are cleared */
        z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR1,
@@ -695,7 +695,7 @@ cpi_initclock(struct cpi_softc *sc)
        /* Re-enable counters A and B */
        reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_MCCR);
        z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_MCCR,
-           reg | MCCR_CT1E | MCCR_CT2E | MCCR_CT1CT2);
+           reg | MCCR_CT1E | MCCR_CT2E | MCCR_CT1CT2);
 
        /* Start counters A and B */
        reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR1);
@@ -703,7 +703,7 @@ cpi_initclock(struct cpi_softc *sc)
            reg | CTCS_TCB);
        reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR2);
        z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR2,
-           reg | CTCS_TCB);
+           reg | CTCS_TCB);
        
        tc_init(&cpi_timecounter);
 }
diff --git a/sys/dev/microcode/atmel/atmel_intersil_fw.h 
b/sys/dev/microcode/atmel/atmel_intersil_fw.h
index 4f320f5..7aa5a7a 100644
--- a/sys/dev/microcode/atmel/atmel_intersil_fw.h
+++ b/sys/dev/microcode/atmel/atmel_intersil_fw.h
@@ -5,7 +5,7 @@
  *   Target:  AT76C503 with Intersil 3861 radio
  *   Version: 0.90.0 #44
  *
- * Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and 
use
+ * Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and 
use
  * of the microcode software ("Firmware") is permitted provided that the 
following
  * conditions are met:
  *     1. Firmware is redistributed in object code only.
diff --git a/sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h 
b/sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h
index 9dcfc12..43aacb8 100644
--- a/sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h
+++ b/sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h
@@ -4,7 +4,7 @@
  * Firmware to be used with rfmd2958 radio's on SMC's 2662W v.4 board
  * Version: 1.102.0 build #113
  *
- * Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and 
use
+ * Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and 
use
  * of the microcode software ("Firmware") is permitted provided that the 
following
  * conditions are met:
  *     1. Firmware is redistributed in object code only.
diff --git a/sys/dev/microcode/atmel/atmel_rfmd_fw.h 
b/sys/dev/microcode/atmel/atmel_rfmd_fw.h
index 8356146..e5b9ef4 100644
--- a/sys/dev/microcode/atmel/atmel_rfmd_fw.h
+++ b/sys/dev/microcode/atmel/atmel_rfmd_fw.h
@@ -5,7 +5,7 @@
  *   Target: AT76c503a with RFMD radio
  *   Version: 1.101.0-84
  *
- * Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and 
use
+ * Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and 
use
  * of the microcode software ("Firmware") is permitted provided that the 
following
  * conditions are met:
  *     1. Firmware is redistributed in object code only.
diff --git a/sys/fs/puffs/puffs_vnops.c b/sys/fs/puffs/puffs_vnops.c
index da92cac..b489652 100644
--- a/sys/fs/puffs/puffs_vnops.c
+++ b/sys/fs/puffs/puffs_vnops.c
@@ -1228,7 +1228,7 @@ puffs_vnop_poll(void *v)
                const struct vnodeop_desc *a_desc;
                struct vnode *a_vp;
                int a_events;
-       } */ *ap = v;
+       } */ *ap = v;
        PUFFS_MSG_VARS(vn, poll);
        struct vnode *vp = ap->a_vp;
        struct puffs_mount *pmp = MPTOPUFFSMP(vp->v_mount);
@@ -1554,7 +1554,7 @@ puffs_vnop_link(void *v)
                struct vnode *a_dvp;
                struct vnode *a_vp;
                struct componentname *a_cnp;
-       } */ *ap = v;
+       } */ *ap = v;
        PUFFS_MSG_VARS(vn, link);
        struct vnode *dvp = ap->a_dvp;
        struct vnode *vp = ap->a_vp;
@@ -1604,7 +1604,7 @@ puffs_vnop_symlink(void *v)
                struct componentname *a_cnp;
                struct vattr *a_vap;
                char *a_target;
-       } */ *ap = v;
+       } */ *ap = v;
        PUFFS_MSG_VARS(vn, symlink);
        struct vnode *dvp = ap->a_dvp;
        struct puffs_node *dpn = VPTOPP(dvp);
@@ -1700,7 +1700,7 @@ puffs_vnop_rename(void *v)
                struct vnode *a_tdvp;
                struct vnode *a_tvp;
                struct componentname *a_tcnp;
-       } */ *ap = v;
+       } */ *ap = v;
        PUFFS_MSG_VARS(vn, rename);
        struct vnode *fdvp = ap->a_fdvp;
        struct puffs_node *fpn = ap->a_fvp->v_data;
@@ -2521,7 +2521,7 @@ puffs_vnop_lock(void *v)
        struct vop_lock_args /* {
                struct vnode *a_vp;
                int a_flags;
-       } */ *ap = v;
+       } */ *ap = v;
        struct vnode *vp = ap->a_vp;
        struct mount *mp = vp->v_mount;
        int flags = ap->a_flags;
@@ -2614,7 +2614,7 @@ puffs_vnop_spec_write(void *v)
                struct uio *a_uio;
                int a_ioflag;
                kauth_cred_t a_cred;
-       } */ *ap = v;
+       } */ *ap = v;
 
        puffs_updatenode(VPTOPP(ap->a_vp), PUFFS_UPDATEMTIME, 0);
        return VOCALL(spec_vnodeop_p, VOFFSET(vop_write), v);
@@ -2644,7 +2644,7 @@ puffs_vnop_fifo_write(void *v)
                struct uio *a_uio;
                int a_ioflag;
                kauth_cred_t a_cred;
-       } */ *ap = v;
+       } */ *ap = v;
 
        puffs_updatenode(VPTOPP(ap->a_vp), PUFFS_UPDATEMTIME, 0);
        return VOCALL(fifo_vnodeop_p, VOFFSET(vop_write), v);
-- 
1.5.2.5



Home | Main Index | Thread Index | Old Index