Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2017 15:08:57 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315245 - head/sys/net
Message-ID:  <201703141508.v2EF8vLk095221@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Tue Mar 14 15:08:56 2017
New Revision: 315245
URL: https://svnweb.freebsd.org/changeset/base/315245

Log:
  Fixup LINT by using uint64_t type as we do on all other calls to PNMB()
  
  Found with Jenkins.
  
  Reported by:	lwshu
  Sponsored by:	Limelight Networks

Modified:
  head/sys/net/iflib.c

Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c	Tue Mar 14 14:02:47 2017	(r315244)
+++ head/sys/net/iflib.c	Tue Mar 14 15:08:56 2017	(r315245)
@@ -860,7 +860,7 @@ iflib_netmap_txsync(struct netmap_kring 
 		for (n = 0; nm_i != head; n++) {
 			struct netmap_slot *slot = &ring->slot[nm_i];
 			u_int len = slot->len;
-			vm_paddr_t paddr;
+			uint64_t paddr;
 			void *addr = PNMB(na, slot, &paddr);
 			int flags = (slot->flags & NS_REPORT ||
 				nic_i == 0 || nic_i == report_frequency) ?



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