On 03/14/17 10:25, Ravi Pokala wrote: > Hi Sean, > > A few MIPS (XLPN32, XLRN32), and PowerPC (MPC85XX, MPC85XXSPE) configs are > still broken: > > --- iflib.o --- > cc1: warnings being treated as errors > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c: In function > 'calc_next_rxd': > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2280: warning: > cast from pointer to integer of different size [-Wpointer-to-int-cast] > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2280: warning: > cast to pointer from integer of different size [-Wint-to-pointer-cast] > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c: In function > 'calc_next_txd': > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2990: warning: > cast from pointer to integer of different size [-Wpointer-to-int-cast] > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2990: warning: > cast to pointer from integer of different size [-Wint-to-pointer-cast] > *** [iflib.o] Error code 1 > > Thanks, > > Ravi (rpokala@) >
Hrm. Ok. Will fixup directly. sean > -----Original Message----- > From: <owner-src-committ...@freebsd.org> on behalf of Sean Bruno > <sbr...@freebsd.org> > Date: 2017-03-14, Tuesday at 08:08 > To: <src-committ...@freebsd.org>, <svn-src-...@freebsd.org>, > <svn-src-head@freebsd.org> > Subject: svn commit: r315245 - head/sys/net > > 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) ? > > > > >
signature.asc
Description: OpenPGP digital signature