From owner-freebsd-current@freebsd.org Sun Dec 18 15:42:22 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C75A3C8718D for ; Sun, 18 Dec 2016 15:42:22 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 472F2220; Sun, 18 Dec 2016 15:42:21 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from thor.walstatt.dynvpn.de ([78.52.151.166]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4Gyx-1cZtN03hwZ-00rr9j; Sun, 18 Dec 2016 16:42:14 +0100 Date: Sun, 18 Dec 2016 16:42:07 +0100 From: "O. Hartmann" To: Dimitry Andric Cc: "O. Hartmann" , FreeBSD CURRENT Subject: Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long Message-ID: <20161218164207.318e2763@thor.walstatt.dynvpn.de> In-Reply-To: References: <20161217124634.131a97b4@thor.walstatt.dynvpn.de> <20161218161055.28dd0d2b@thor.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/sABpGazP34/QZb0z6d7awnv"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:2BLbhaS377VoYVRJ/rnHgx2WF0b/fjsWNTnniRg/wPk5LSN4hrr YGN7bgJ8cbYYXDtH1mnYt6gPEfh8hGGh+iP0115O+OY/XXUIxcA+hxB7kDjh38fu5OvSA/k Z9/snUeGTexk9bfs9Zz65OznsqgANhA7002/ybdezlLYmsvf4JevbgERT/JDJE4aIC5sfCT KIDhuH2r7UPkB88efrf/g== X-UI-Out-Filterresults: notjunk:1;V01:K0:N6V5aHKJRa8=:cqOm4rbGL20oNzYdhvoPXI e9K8ZcrtJJAlLwI3XjadN7bGlpK+1/lGr0DReHWnDkNczlIPzxW/H08SB4JPpo528JTMkeeoc MIC+UhINfX0tc3/hRuz5SD2xHDv9s7/aWn19n5xPhD7UAflC86/0XmW4HOFWZ9GjvAQ4XjY8G cX09Hy2I138AaWcmaFjyCnjt4hJVD86OnOZvVUl/txjT2XhEH+1k2AbXSmoZRa/VNK3rAyXuX 3ra/6JR/tjglAtCY5Tw3D2kJ+aZ/tIzyw0FciLlAmkz9GYfVwa4ulcq0U9fw6xgieIkiyARp1 LnqsmAMoqMLv9EHyH5Jy9eDGr3Wa6eaFe9DxFuMEhCJr8ukRMjZL/PAAHOG53FpoqisUVtnqR n6xPi/NcQa/iULvCq9nwPkLSBrf4SEULyoAB1ypSNmBYuskwjw5XU+Bsx5g2mvN5Tjmuu68u1 pgpbyiW4o9Vs5zhKLOzW1MGmzK3Y++fcu0SaKuHp1ZXDhLtZ6/kPDqN6QuxADteUzs1bwKsqv 1Q0hcofMss268dTd6i18kritOZibDTaHcaD8lbYt5PcQD0j+mJOnXh/uSz2fKCQVEMsRq9Q+M 7q6zddDbRM0a/eWt6KauFZWIsNh+clTkIFZNmv3Nyc/SsgaPCXOwhXRJZod2xzJrdrLMg1g7q gnwDmL06r6kaqzG0M64fJzgi9gKWbIICkovz9xereAMTnphw52WPB5xeC4BkhXYwbdwtLU9qI YwnXmXmfToVjBAJM2oCZyzvjnvrtNuGdH1TOuL4yfIll3Ao1xLS624Hk6FDC5lfY9vRcWpKLz IeWSGux X-Mailman-Approved-At: Sun, 18 Dec 2016 15:53:58 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 15:42:22 -0000 --Sig_/sABpGazP34/QZb0z6d7awnv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Sun, 18 Dec 2016 16:22:31 +0100 Dimitry Andric schrieb: > On 18 Dec 2016, at 16:10, O. Hartmann wrote: > >=20 > > Am Sat, 17 Dec 2016 18:27:18 +0100 > > Dimitry Andric schrieb: > > =20 > >> On 17 Dec 2016, at 12:46, O. Hartmann wrote: = =20 > >>>=20 > >>> Recent kernel source reject to build: > >>>=20 > >>> [...] > >>> --- all_subdir_mlx4ib --- > >>> --- mlx4_ib_sysfs.o --- > >>> /usr/src/sys/modules/mlx4ib/../../dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c:90= :22: error: > >>> format specifies type 'unsigned long long *' but the argument has typ= e 'u64 *' (aka > >>> 'unsigned long *') [-Werror,-Wformat] sscanf(buf, "%llx", &sysadmin_a= g_val); ~~~~ > >>> ^~~~~~~~~~~~~~~~ %lx > >>> 1 error generated. =20 > >>=20 > >> Ha, my r310171, which enabled sscanf() format checking, is already > >> working, it seems! I built kernels for both i386 and amd64 without > >> problems, but you may be using some non-default module or settings whi= ch > >> trigger this warning. > >>=20 > >> For which arch are you building here, and do you have any particular > >> build settings which might influence this? > >>=20 > >> -Dimitry > >> =20 > >=20 > > Still with revision 310228 :-( =20 >=20 > After reviewing by the mlx4ib maintainer, this should now be fixed with r= 310232. >=20 > -Dimitry >=20 Yes it is ;-) Thank you. oh --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/sABpGazP34/QZb0z6d7awnv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWFauTwAKCRDS528fyFhY lIKNAf9vkc3wJZ9kpVjR7IBA5MdeZnXKJzT3zo8aUu4oJ9c6lv4VeGeY6AS3EVJF WSofW+AjKT36laCia2v7fbvYF7NLAf9KwXcc0UShGBOQpWIw6gXPZFXDvLO48I0G rb8Avwwk0bm/8xl3W8CEWzC5jvgppzUgIIo/AcuyEviW9CAAG5xZ =A5IS -----END PGP SIGNATURE----- --Sig_/sABpGazP34/QZb0z6d7awnv--