Date: Tue, 14 Mar 2017 10:43:22 -0600 From: Sean Bruno <sbruno@freebsd.org> To: Ravi Pokala <rpokala@mac.com>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r315245 - head/sys/net Message-ID: <c0d627ba-e17e-30f7-ac62-7b1864d45118@freebsd.org> In-Reply-To: <48897A80-CB0A-425E-8AA7-C1DD7FCFB566@panasas.com> References: <201703141508.v2EF8vLk095221@repo.freebsd.org> <48897A80-CB0A-425E-8AA7-C1DD7FCFB566@panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cWXfFKsTwERS3Wo7msHNa1gM9kc0r3PTn Content-Type: multipart/mixed; boundary="tcCqRDAvUUOluaWctRrppcQD8mHnUUhCR"; protected-headers="v1" From: Sean Bruno <sbruno@freebsd.org> To: Ravi Pokala <rpokala@mac.com>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <c0d627ba-e17e-30f7-ac62-7b1864d45118@freebsd.org> Subject: Re: svn commit: r315245 - head/sys/net References: <201703141508.v2EF8vLk095221@repo.freebsd.org> <48897A80-CB0A-425E-8AA7-C1DD7FCFB566@panasas.com> In-Reply-To: <48897A80-CB0A-425E-8AA7-C1DD7FCFB566@panasas.com> --tcCqRDAvUUOluaWctRrppcQD8mHnUUhCR Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/14/17 10:25, Ravi Pokala wrote: > Hi Sean, >=20 > A few MIPS (XLPN32, XLRN32), and PowerPC (MPC85XX, MPC85XXSPE) configs = are still broken: >=20 > --- iflib.o --- > cc1: warnings being treated as errors > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c: In funct= ion 'calc_next_rxd': > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2280: war= ning: cast from pointer to integer of different size [-Wpointer-to-int-ca= st] > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2280: war= ning: cast to pointer from integer of different size [-Wint-to-pointer-ca= st] > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c: In funct= ion 'calc_next_txd': > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2990: war= ning: cast from pointer to integer of different size [-Wpointer-to-int-ca= st] > /usr/home/rpokala/freebsd/clean/base/head/sys/net/iflib.c:2990: war= ning: cast to pointer from integer of different size [-Wint-to-pointer-ca= st] > *** [iflib.o] Error code 1 >=20 > Thanks, >=20 > Ravi (rpokala@) >=20 Hrm. Ok. Will fixup directly. sean > -----Original Message----- > From: <owner-src-committers@freebsd.org> on behalf of Sean Bruno <sbrun= o@FreeBSD.org> > Date: 2017-03-14, Tuesday at 08:08 > To: <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-h= ead@freebsd.org> > Subject: svn commit: r315245 - head/sys/net >=20 > Author: sbruno > Date: Tue Mar 14 15:08:56 2017 > New Revision: 315245 > URL: https://svnweb.freebsd.org/changeset/base/315245 >=20 > Log: > Fixup LINT by using uint64_t type as we do on all other calls to PNMB= () > =20 > Found with Jenkins. > =20 > Reported by: lwshu > Sponsored by: Limelight Networks >=20 > Modified: > head/sys/net/iflib.c >=20 > Modified: head/sys/net/iflib.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- 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=20 > for (n =3D 0; nm_i !=3D head; n++) { > struct netmap_slot *slot =3D &ring->slot[nm_i]; > u_int len =3D slot->len; > - vm_paddr_t paddr; > + uint64_t paddr; > void *addr =3D PNMB(na, slot, &paddr); > int flags =3D (slot->flags & NS_REPORT || > nic_i =3D=3D 0 || nic_i =3D=3D report_frequency) ? >=20 >=20 >=20 >=20 >=20 --tcCqRDAvUUOluaWctRrppcQD8mHnUUhCR-- --cWXfFKsTwERS3Wo7msHNa1gM9kc0r3PTn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEuq1GMucSHejSCZfdEgHvyh5yfmQFAljIHa1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJB QUQ0NjMyRTcxMjFERThEMjA5OTdERDEyMDFFRkNBMUU3MjdFNjQACgkQEgHvyh5y fmSSLwgAvmII3FbzPzdr2SGVHrvEO3oMpZz8T6j4pY8r2dlIvxWFofdZz8fAikVF TOK1RoeLiPUlCx+olcjlwi6zsE47eLEqmKB2J35/2g2dhmLgsCaUEGqN/vzXBUBx 7m44T58VNZlYyLtQkDz3f7v8Gu+BC9wYkGJmYE+WGMivSHqd/9Zk/dlVoU6soHna f6e1VSribVgCxuD8h2QpoIEnl1yeyxgU2Fh0fSTFy1sZYG8Qvzht5kWnw+UobhAe BoEi/Rj/F024ORxceGThcLACJ6OwGibKug8eZAS42XuS0vBDVZEoIowDCRq3lvTJ FK46546n898fLDTbgCQe/7xJ6SofEA== =Op/1 -----END PGP SIGNATURE----- --cWXfFKsTwERS3Wo7msHNa1gM9kc0r3PTn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c0d627ba-e17e-30f7-ac62-7b1864d45118>