Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2019 20:00:40 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350573 - head/sys/compat/linuxkpi/common/src
Message-ID:  <201908042000.x74K0efw014743@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908042000.x74K0efw014743>