summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2021-12-19 19:15:48 +0000
committerskrll <skrll@NetBSD.org>2021-12-19 19:15:48 +0000
commita5b8082641a986a802091d64716302cd99cbfedb (patch)
tree64da04c85d7c4b6e2e38938a18ec085db98982fc /sys/dev
parentd1728256051757f6113629079f932c5bc9fa36f9 (diff)
Trailing whitespace
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpi_pci_link.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpi_pci_link.c b/sys/dev/acpi/acpi_pci_link.c
index 7f7d45de0b0..1bde40c6427 100644
--- a/sys/dev/acpi/acpi_pci_link.c
+++ b/sys/dev/acpi/acpi_pci_link.c
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_pci_link.c,v 1.26 2020/01/17 17:06:32 jmcneill Exp $ */
+/* $NetBSD: acpi_pci_link.c,v 1.27 2021/12/19 19:15:48 skrll Exp $ */
/*-
* Copyright (c) 2002 Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pci_link.c,v 1.26 2020/01/17 17:06:32 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pci_link.c,v 1.27 2021/12/19 19:15:48 skrll Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -1220,14 +1220,14 @@ acpi_AppendBufferResource(ACPI_BUFFER *buf, ACPI_RESOURCE *res)
* Check the size of the buffer and expand if required.
*
* Required size is:
- * size of existing resources before terminator +
+ * size of existing resources before terminator +
* size of new resource and header +
* size of terminator.
*
* Note that this loop should really only run once, unless
* for some reason we are stuffing a *really* huge resource.
*/
- while ((((u_int8_t *)rp - (u_int8_t *)buf->Pointer) +
+ while ((((u_int8_t *)rp - (u_int8_t *)buf->Pointer) +
res->Length + ACPI_RS_SIZE_NO_DATA +
ACPI_RS_SIZE_MIN) >= buf->Length) {
if ((newp = ACPI_ALLOCATE(buf->Length * 2)) == NULL)