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
This commit is contained in:
parent
5f50a414ba
commit
0a1b74a3d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315245
@ -860,7 +860,7 @@ iflib_netmap_txsync(struct netmap_kring *kring, int flags)
|
|||||||
for (n = 0; nm_i != head; n++) {
|
for (n = 0; nm_i != head; n++) {
|
||||||
struct netmap_slot *slot = &ring->slot[nm_i];
|
struct netmap_slot *slot = &ring->slot[nm_i];
|
||||||
u_int len = slot->len;
|
u_int len = slot->len;
|
||||||
vm_paddr_t paddr;
|
uint64_t paddr;
|
||||||
void *addr = PNMB(na, slot, &paddr);
|
void *addr = PNMB(na, slot, &paddr);
|
||||||
int flags = (slot->flags & NS_REPORT ||
|
int flags = (slot->flags & NS_REPORT ||
|
||||||
nic_i == 0 || nic_i == report_frequency) ?
|
nic_i == 0 || nic_i == report_frequency) ?
|
||||||
|
Loading…
Reference in New Issue
Block a user