Source-Changes-HG archive

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

[src/trunk]: src/sys More alignment spellos



details:   https://anonhg.NetBSD.org/src/rev/08106e6234b5
branches:  trunk
changeset: 793046:08106e6234b5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jan 25 10:14:29 2014 +0000

description:
More alignment spellos

diffstat:

 sys/compat/linux/arch/powerpc/linux_exec.h |  4 ++--
 sys/dev/ic/mfi.c                           |  6 +++---
 sys/dev/kloader.c                          |  6 +++---
 sys/ufs/chfs/chfs_wbuf.c                   |  4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r 7d790a137ff1 -r 08106e6234b5 sys/compat/linux/arch/powerpc/linux_exec.h
--- a/sys/compat/linux/arch/powerpc/linux_exec.h        Sat Jan 25 10:09:47 2014 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_exec.h        Sat Jan 25 10:14:29 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_exec.h,v 1.21 2008/04/28 20:23:43 martin Exp $  */
+/*     $NetBSD: linux_exec.h,v 1.22 2014/01/25 10:14:29 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
 
 /*
  * Size of the auxiliary ELF table. On the PowerPC we need 16 extra bytes
- * in order to force an alignement on a 16 bytes boundary (this is expected
+ * in order to force an alignment on a 16 bytes boundary (this is expected
  * by PowerPC GNU ld.so).
  */
 #define LINUX_ELF_AUX_ARGSIZ \
diff -r 7d790a137ff1 -r 08106e6234b5 sys/dev/ic/mfi.c
--- a/sys/dev/ic/mfi.c  Sat Jan 25 10:09:47 2014 +0000
+++ b/sys/dev/ic/mfi.c  Sat Jan 25 10:14:29 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfi.c,v 1.50 2013/10/17 21:24:24 christos Exp $ */
+/* $NetBSD: mfi.c,v 1.51 2014/01/25 10:14:29 skrll Exp $ */
 /* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
 
 /*
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.50 2013/10/17 21:24:24 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.51 2014/01/25 10:14:29 skrll Exp $");
 
 #include "bio.h"
 
@@ -2940,7 +2940,7 @@
        uint32_t     offset = 0;
        uint8_t      *addr = MFIMEM_KVA(sc->sc_tbolt_reqmsgpool);
 
-       /* Request Decriptors alignement restrictions */
+       /* Request Decriptors alignment restrictions */
        KASSERT(((uintptr_t)addr & 0xFF) == 0);
 
        /* Skip request message pool */
diff -r 7d790a137ff1 -r 08106e6234b5 sys/dev/kloader.c
--- a/sys/dev/kloader.c Sat Jan 25 10:09:47 2014 +0000
+++ b/sys/dev/kloader.c Sat Jan 25 10:14:29 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kloader.c,v 1.25 2010/11/19 09:08:26 dholland Exp $    */
+/*     $NetBSD: kloader.c,v 1.26 2014/01/25 10:14:29 skrll Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.25 2010/11/19 09:08:26 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kloader.c,v 1.26 2014/01/25 10:14:29 skrll Exp $");
 
 #include "debug_kloader.h"
 
@@ -702,7 +702,7 @@
                        break;
                }
                if ((p->src & 3) || (p->dst & 3)) {
-                       printf("data alignement error.\n");
+                       printf("data alignment error.\n");
                        print = TRUE;
                }
 
diff -r 7d790a137ff1 -r 08106e6234b5 sys/ufs/chfs/chfs_wbuf.c
--- a/sys/ufs/chfs/chfs_wbuf.c  Sat Jan 25 10:09:47 2014 +0000
+++ b/sys/ufs/chfs/chfs_wbuf.c  Sat Jan 25 10:14:29 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chfs_wbuf.c,v 1.5 2012/10/19 12:44:39 ttoth Exp $      */
+/*     $NetBSD: chfs_wbuf.c,v 1.6 2014/01/25 10:14:29 skrll Exp $      */
 
 /*-
  * Copyright (c) 2010 Department of Software Engineering,
@@ -181,7 +181,7 @@
        /* adjust alignment offset */
        if (chmp->chm_wbuf_len != PAGE_MOD(to)) {
                chmp->chm_wbuf_len = PAGE_MOD(to);
-               /* take care of alignement to next page */
+               /* take care of alignment to next page */
                if (!chmp->chm_wbuf_len) {
                        chmp->chm_wbuf_len += chmp->chm_wbuf_pagesize;
                        ret = chfs_flush_wbuf(chmp, WBUF_NOPAD);



Home | Main Index | Thread Index | Old Index