Date: Fri, 18 Mar 2016 19:36:43 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297038 - head/sys/dev/pci Message-ID: <201603181936.u2IJahmf060368@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bz Date: Fri Mar 18 19:36:43 2016 New Revision: 297038 URL: https://svnweb.freebsd.org/changeset/base/297038 Log: Convert the printfs here from %lx to %jx as well after r297000 in order to be able to compile this into arm kernels. Sponsored by: DARPA/AFRL Modified: head/sys/dev/pci/pci_host_generic.c Modified: head/sys/dev/pci/pci_host_generic.c ============================================================================== --- head/sys/dev/pci/pci_host_generic.c Fri Mar 18 19:04:01 2016 (r297037) +++ head/sys/dev/pci/pci_host_generic.c Fri Mar 18 19:36:43 2016 (r297038) @@ -540,7 +540,7 @@ generic_pcie_alloc_resource_pcie(device_ if (bootverbose) { device_printf(dev, - "rman_reserve_resource: start=%#lx, end=%#lx, count=%#lx\n", + "rman_reserve_resource: start=%#jx, end=%#jx, count=%#jx\n", start, end, count); } @@ -560,7 +560,7 @@ generic_pcie_alloc_resource_pcie(device_ fail: device_printf(dev, "%s FAIL: type=%d, rid=%d, " - "start=%016lx, end=%016lx, count=%016lx, flags=%x\n", + "start=%016jx, end=%016jx, count=%016jx, flags=%x\n", __func__, type, *rid, start, end, count, flags); return (NULL); @@ -744,7 +744,7 @@ generic_pcie_alloc_resource_ofw(device_t if (i == MAX_RANGES_TUPLES) { device_printf(bus, "Could not map resource " - "%#lx-%#lx\n", start, end); + "%#jx-%#jx\n", start, end); return (NULL); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603181936.u2IJahmf060368>