svn commit: r350573 - head/sys/compat/linuxkpi/common/src

Justin Hibbits jhibbits at FreeBSD.org
Sun Aug 4 20:00:40 UTC 2019


Author: jhibbits
Date: Sun Aug  4 20:00:39 2019
New Revision: 350573
URL: https://svnweb.freebsd.org/changeset/base/350573

Log:
  Fix 32-bit build again, post r350570.
  
  Missed this part with my testing as well.  Pass the right type to
  BUS_TRANSLATE_RESOURCE().

Modified:
  head/sys/compat/linuxkpi/common/src/linux_pci.c

Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c
==============================================================================
--- head/sys/compat/linuxkpi/common/src/linux_pci.c	Sun Aug  4 19:55:43 2019	(r350572)
+++ head/sys/compat/linuxkpi/common/src/linux_pci.c	Sun Aug  4 20:00:39 2019	(r350573)
@@ -391,7 +391,7 @@ unsigned long
 pci_resource_start(struct pci_dev *pdev, int bar)
 {
 	struct resource_list_entry *rle;
-	unsigned long newstart;
+	rman_res_t newstart;
 	device_t dev;
 
 	if ((rle = linux_pci_get_bar(pdev, bar)) == NULL)


More information about the svn-src-head mailing list