svn commit: r315245 - head/sys/net

Sean Bruno sbruno at FreeBSD.org
Tue Mar 14 15:08:58 UTC 2017


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) ?


More information about the svn-src-all mailing list