Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Nix trailing whitespace. NFCI.
details: https://anonhg.NetBSD.org/src/rev/d2fccb7f3906
branches: trunk
changeset: 934025:d2fccb7f3906
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jun 04 03:12:26 2020 +0000
description:
Nix trailing whitespace. NFCI.
diffstat:
sys/dev/acpi/acpi_cpu_cstate.c | 8 ++++----
sys/kern/vfs_lookup.c | 16 ++++++++--------
2 files changed, 12 insertions(+), 12 deletions(-)
diffs (101 lines):
diff -r 1252caf51a19 -r d2fccb7f3906 sys/dev/acpi/acpi_cpu_cstate.c
--- a/sys/dev/acpi/acpi_cpu_cstate.c Thu Jun 04 03:08:59 2020 +0000
+++ b/sys/dev/acpi/acpi_cpu_cstate.c Thu Jun 04 03:12:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.61 2020/05/31 01:39:33 ad Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.62 2020/06/04 03:14:36 riastradh Exp $ */
/*-
* Copyright (c) 2010, 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.61 2020/05/31 01:39:33 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.62 2020/06/04 03:14:36 riastradh Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -744,8 +744,8 @@
#ifdef notyet
/*
* XXX This has a significant performance impact because the ACPI
- * timer seems very slow and with many CPUs becomes a chokepoint.
- * Better to use the TSC (if invariant) or APIC timer instead.
+ * timer seems very slow and with many CPUs becomes a chokepoint.
+ * Better to use the TSC (if invariant) or APIC timer instead.
* Proably even getbintime(). Disabled for now as no functional
* change - only C1 sleep is enabled.
*/
diff -r 1252caf51a19 -r d2fccb7f3906 sys/kern/vfs_lookup.c
--- a/sys/kern/vfs_lookup.c Thu Jun 04 03:08:59 2020 +0000
+++ b/sys/kern/vfs_lookup.c Thu Jun 04 03:12:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_lookup.c,v 1.222 2020/05/30 20:23:25 ad Exp $ */
+/* $NetBSD: vfs_lookup.c,v 1.223 2020/06/04 03:12:26 riastradh Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.222 2020/05/30 20:23:25 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.223 2020/06/04 03:12:26 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_magiclinks.h"
@@ -817,7 +817,7 @@
/* Keep absolute symbolic links inside emulation root */
searchdir = ndp->ni_erootdir;
if (searchdir == NULL ||
- (ndp->ni_pnbuf[1] == '.'
+ (ndp->ni_pnbuf[1] == '.'
&& ndp->ni_pnbuf[2] == '.'
&& ndp->ni_pnbuf[3] == '/')) {
ndp->ni_erootdir = NULL;
@@ -971,7 +971,7 @@
break;
}
- /*
+ /*
* Check to see if something is still mounted on it.
*/
if ((mp = foundobj->v_mountedhere) == NULL) {
@@ -1048,7 +1048,7 @@
/*
* Call VOP_LOOKUP for a single lookup; return a new search directory
- * (used when crossing mountpoints up or searching union mounts down) and
+ * (used when crossing mountpoints up or searching union mounts down) and
* the found object, which for create operations may be NULL on success.
*
* Note that the new search directory may be null, which means the
@@ -1268,7 +1268,7 @@
}
/*
- * Parse out the first path name component that we need to to consider.
+ * Parse out the first path name component that we need to to consider.
*
* While doing this, attempt to use the name cache to fast-forward through
* as many "easy" to find components of the path as possible.
@@ -1440,7 +1440,7 @@
/*
* If we exited the loop above having successfully located
* the last component with a zero error code, and it's not a
- * symbolic link, then the parent directory is not needed.
+ * symbolic link, then the parent directory is not needed.
* Release reference to the starting parent and make the
* terminal parent disappear into thin air.
*/
@@ -2258,7 +2258,7 @@
}
int
-nameiat_simple_kernel(struct vnode *dvp, const char *path,
+nameiat_simple_kernel(struct vnode *dvp, const char *path,
namei_simple_flags_t sflags, struct vnode **vp_ret)
{
struct nameidata nd;
Home |
Main Index |
Thread Index |
Old Index