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) ?
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to