Module Name: src Committed By: skrll Date: Fri Jan 12 11:24:48 UTC 2024
Modified Files: src/sys/arch/arm/fdt: pcihost_fdt.c Log Message: Trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/fdt/pcihost_fdt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/fdt/pcihost_fdt.c diff -u src/sys/arch/arm/fdt/pcihost_fdt.c:1.32 src/sys/arch/arm/fdt/pcihost_fdt.c:1.33 --- src/sys/arch/arm/fdt/pcihost_fdt.c:1.32 Sat Oct 15 11:07:38 2022 +++ src/sys/arch/arm/fdt/pcihost_fdt.c Fri Jan 12 11:24:48 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: pcihost_fdt.c,v 1.32 2022/10/15 11:07:38 jmcneill Exp $ */ +/* $NetBSD: pcihost_fdt.c,v 1.33 2024/01/12 11:24:48 skrll Exp $ */ /*- * Copyright (c) 2018 Jared D. McNeill <jmcne...@invisible.ca> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pcihost_fdt.c,v 1.32 2022/10/15 11:07:38 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pcihost_fdt.c,v 1.33 2024/01/12 11:24:48 skrll Exp $"); #include <sys/param.h> @@ -506,8 +506,8 @@ pcihost_intr_map(const struct pci_attach index = 0; while (imaplen >= 20) { const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4])); - if (of_getprop_uint32(map_ihandle, "#address-cells", &addr_cells)) - addr_cells = 2; + if (of_getprop_uint32(map_ihandle, "#address-cells", &addr_cells)) + addr_cells = 2; if (of_getprop_uint32(map_ihandle, "#interrupt-cells", &interrupt_cells)) interrupt_cells = 0; if (imaplen < (addr_cells + interrupt_cells) * 4) @@ -542,8 +542,8 @@ pcihost_find_intr(struct pcihost_softc * index = 0; while (imaplen >= 20) { const int map_ihandle = fdtbus_get_phandle_from_native(be32toh(imap[4])); - if (of_getprop_uint32(map_ihandle, "#address-cells", &addr_cells)) - addr_cells = 2; + if (of_getprop_uint32(map_ihandle, "#address-cells", &addr_cells)) + addr_cells = 2; if (of_getprop_uint32(map_ihandle, "#interrupt-cells", &interrupt_cells)) interrupt_cells = 0; if (imaplen < (addr_cells + interrupt_cells) * 4)