Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/hdaudioctl Nix trailing whitespace.



details:   https://anonhg.NetBSD.org/src/rev/7cbdbab9ac68
branches:  trunk
changeset: 973013:7cbdbab9ac68
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Jun 15 20:27:30 2020 +0000

description:
Nix trailing whitespace.

diffstat:

 sys/arch/amd64/amd64/cpufunc.S   |  4 ++--
 sys/arch/x86/x86/tsc.c           |  5 ++---
 usr.sbin/hdaudioctl/hdaudioctl.c |  9 ++++-----
 3 files changed, 8 insertions(+), 10 deletions(-)

diffs (88 lines):

diff -r a8d89cfd049d -r 7cbdbab9ac68 sys/arch/amd64/amd64/cpufunc.S
--- a/sys/arch/amd64/amd64/cpufunc.S    Mon Jun 15 18:57:39 2020 +0000
+++ b/sys/arch/amd64/amd64/cpufunc.S    Mon Jun 15 20:27:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.S,v 1.61 2020/06/15 09:09:23 msaitoh Exp $     */
+/*     $NetBSD: cpufunc.S,v 1.62 2020/06/15 20:27:30 riastradh Exp $   */
 
 /*
  * Copyright (c) 1998, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -220,7 +220,7 @@
 
 #define RSIZE_counter32        4
 #define RSIZE_counter  8
-       
+
 #define CPU_COUNTER_FENCE(counter, fence)      \
 ENTRY(cpu_ ## counter ## _ ## fence)           ;\
        movq    CPUVAR(CURLWP), %rcx            ;\
diff -r a8d89cfd049d -r 7cbdbab9ac68 sys/arch/x86/x86/tsc.c
--- a/sys/arch/x86/x86/tsc.c    Mon Jun 15 18:57:39 2020 +0000
+++ b/sys/arch/x86/x86/tsc.c    Mon Jun 15 20:27:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tsc.c,v 1.51 2020/06/15 09:09:24 msaitoh Exp $ */
+/*     $NetBSD: tsc.c,v 1.52 2020/06/15 20:27:30 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2008, 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.51 2020/06/15 09:09:24 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.52 2020/06/15 20:27:30 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -183,7 +183,6 @@
                cpu_counter = cpu_counter_##fence;                            \
                cpu_counter32 = cpu_counter32_##fence;                        \
        } while (/* CONSTCOND */ 0)
-       
 
        if (use_lfence)
                TSC_SETFUNC(lfence);
diff -r a8d89cfd049d -r 7cbdbab9ac68 usr.sbin/hdaudioctl/hdaudioctl.c
--- a/usr.sbin/hdaudioctl/hdaudioctl.c  Mon Jun 15 18:57:39 2020 +0000
+++ b/usr.sbin/hdaudioctl/hdaudioctl.c  Mon Jun 15 20:27:30 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdaudioctl.c,v 1.3 2020/06/15 13:06:39 sborrill Exp $ */
+/* $NetBSD: hdaudioctl.c,v 1.4 2020/06/15 20:29:29 riastradh Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd <support%precedence.co.uk@localhost>
@@ -94,7 +94,7 @@
 {
        const char *prog;
        prog = getprogname();
-       
+
        fprintf(stderr, "usage: %s [-f dev] list\n", prog);
        fprintf(stderr, "       %s [-f dev] show <codecid> <nid>\n", prog);
        fprintf(stderr, "       %s [-f dev] get <codecid> <nid>\n", prog);
@@ -308,7 +308,6 @@
                printf("%3d %08X %2d %3d %-14s %-5s %-7s %-10s %-7s %4X\n",
                    nid, config, ((config >> 4U) & 0xf), (config & 0xf),
                    device, conn, jack, loc, color, ((config >> 8U) & 0xf));
-                   
        }
        prop_object_release(array);
        prop_object_release(response);
@@ -324,7 +323,7 @@
        int fd, error;
        int ch;
        const char *devpath = DEVPATH_HDAUDIO;
-       
+
        while ((ch = getopt(argc, argv, "f:h")) != -1) {
                switch (ch) {
                case 'f':
@@ -348,7 +347,7 @@
                    strerror(errno));
                return EXIT_FAILURE;
        }
-       
+
        error = 0;
        if (strcmp(argv[0], "list") == 0)
                error = hdaudioctl_list(fd);



Home | Main Index | Thread Index | Old Index