Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/acpi Trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/2dfdab719bec
branches: trunk
changeset: 1015472:2dfdab719bec
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 24 07:08:22 2020 +0000
description:
Trailing whitespace
diffstat:
sys/arch/arm/acpi/acpi_machdep.c | 6 +++---
sys/arch/arm/acpi/acpi_pci_graviton.c | 8 ++++----
sys/arch/arm/acpi/acpi_pci_n1sdp.c | 10 +++++-----
sys/arch/arm/acpi/acpipchb.c | 6 +++---
4 files changed, 15 insertions(+), 15 deletions(-)
diffs (135 lines):
diff -r 27fc40fffaeb -r 2dfdab719bec sys/arch/arm/acpi/acpi_machdep.c
--- a/sys/arch/arm/acpi/acpi_machdep.c Sat Oct 24 07:05:52 2020 +0000
+++ b/sys/arch/arm/acpi/acpi_machdep.c Sat Oct 24 07:08:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_machdep.c,v 1.19 2020/01/21 11:24:47 jmcneill Exp $ */
+/* $NetBSD: acpi_machdep.c,v 1.20 2020/10/24 07:08:22 skrll Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#include "pci.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.19 2020/01/21 11:24:47 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.20 2020/10/24 07:08:22 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -502,7 +502,7 @@
if (ad->ad_dmat64 != NULL)
return ad->ad_dmat64;
-
+
dmat = kmem_alloc(sizeof(*dmat), KM_SLEEP);
*dmat = arm_generic_dma_tag;
diff -r 27fc40fffaeb -r 2dfdab719bec sys/arch/arm/acpi/acpi_pci_graviton.c
--- a/sys/arch/arm/acpi/acpi_pci_graviton.c Sat Oct 24 07:05:52 2020 +0000
+++ b/sys/arch/arm/acpi/acpi_pci_graviton.c Sat Oct 24 07:08:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci_graviton.c,v 1.3 2020/06/17 06:45:09 thorpej Exp $ */
+/* $NetBSD: acpi_pci_graviton.c,v 1.4 2020/10/24 07:08:22 skrll Exp $ */
/*-
* Copyright (c) 2018, 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pci_graviton.c,v 1.3 2020/06/17 06:45:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pci_graviton.c,v 1.4 2020/10/24 07:08:22 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -67,7 +67,7 @@
*data = bus_space_read_4(ap->ap_bst, ap->ap_conf_bsh, reg);
return 0;
}
-
+
return acpimcfg_conf_read(pc, tag, reg, data);
}
@@ -86,7 +86,7 @@
bus_space_write_4(ap->ap_bst, ap->ap_conf_bsh, reg, data);
return 0;
}
-
+
return acpimcfg_conf_write(pc, tag, reg, data);
}
diff -r 27fc40fffaeb -r 2dfdab719bec sys/arch/arm/acpi/acpi_pci_n1sdp.c
--- a/sys/arch/arm/acpi/acpi_pci_n1sdp.c Sat Oct 24 07:05:52 2020 +0000
+++ b/sys/arch/arm/acpi/acpi_pci_n1sdp.c Sat Oct 24 07:08:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci_n1sdp.c,v 1.5 2020/09/13 21:41:17 jmcneill Exp $ */
+/* $NetBSD: acpi_pci_n1sdp.c,v 1.6 2020/10/24 07:08:22 skrll Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pci_n1sdp.c,v 1.5 2020/09/13 21:41:17 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pci_n1sdp.c,v 1.6 2020/10/24 07:08:22 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -83,7 +83,7 @@
pci_decompose_tag(pc, tag, &b, &d, &f);
- bdfaddr = (b << N1SDP_BUS_SHIFT) +
+ bdfaddr = (b << N1SDP_BUS_SHIFT) +
(d << N1SDP_DEV_SHIFT) +
(f << N1SDP_FUNC_SHIFT);
@@ -116,7 +116,7 @@
*data = -1;
return 0;
}
-
+
return acpimcfg_conf_read(pc, tag, reg, data);
}
@@ -138,7 +138,7 @@
if (!acpi_pci_n1sdp_valid(pc, tag))
return 0;
-
+
return acpimcfg_conf_write(pc, tag, reg, data);
}
diff -r 27fc40fffaeb -r 2dfdab719bec sys/arch/arm/acpi/acpipchb.c
--- a/sys/arch/arm/acpi/acpipchb.c Sat Oct 24 07:05:52 2020 +0000
+++ b/sys/arch/arm/acpi/acpipchb.c Sat Oct 24 07:08:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpipchb.c,v 1.20 2020/06/17 06:46:09 thorpej Exp $ */
+/* $NetBSD: acpipchb.c,v 1.21 2020/10/24 07:08:22 skrll Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpipchb.c,v 1.20 2020/06/17 06:46:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpipchb.c,v 1.21 2020/10/24 07:08:22 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -188,7 +188,7 @@
for (i = 0; i < abs->nrange; i++) {
struct acpipchb_bus_range * const range = &abs->range[i];
- if (bpa >= range->min && bpa + size - 1 <= range->max)
+ if (bpa >= range->min && bpa + size - 1 <= range->max)
return abs->map(t, bpa + range->offset, size, flag, bshp);
}
Home |
Main Index |
Thread Index |
Old Index