svn commit: r297038 - head/sys/dev/pci

Bjoern A. Zeeb bz at FreeBSD.org
Fri Mar 18 19:36:45 UTC 2016


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);
 		}
 	}


More information about the svn-src-all mailing list