From owner-freebsd-current@freebsd.org Sun Dec 18 15:22:45 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 45334C868B9 for ; Sun, 18 Dec 2016 15:22:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C6A5DB9 for ; Sun, 18 Dec 2016 15:22:45 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::584d:b4f3:ff81:8b6c] (unknown [IPv6:2001:7b8:3a7:0:584d:b4f3:ff81:8b6c]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id BEA703F4C9; Sun, 18 Dec 2016 16:22:41 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_B59C7C3C-74E4-4DFA-A901-8B873AECB7C0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long From: Dimitry Andric In-Reply-To: <20161218161055.28dd0d2b@thor.walstatt.dynvpn.de> Date: Sun, 18 Dec 2016 16:22:31 +0100 Cc: FreeBSD CURRENT Message-Id: References: <20161217124634.131a97b4@thor.walstatt.dynvpn.de> <20161218161055.28dd0d2b@thor.walstatt.dynvpn.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.3124) 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:22:45 -0000 --Apple-Mail=_B59C7C3C-74E4-4DFA-A901-8B873AECB7C0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 >>> 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 = type 'u64 *' (aka >>> 'unsigned long *') [-Werror,-Wformat] sscanf(buf, "%llx", = &sysadmin_ag_val); ~~~~ >>> ^~~~~~~~~~~~~~~~ %lx >>> 1 error generated. >>=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 = which >> 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 :-( After reviewing by the mlx4ib maintainer, this should now be fixed with = r310232. -Dimitry --Apple-Mail=_B59C7C3C-74E4-4DFA-A901-8B873AECB7C0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlhWqcEACgkQsF6jCi4glqOIlwCg98WSnM+fc24p28YziSnO8BCB KpgAn3Di+G+IY17+Ws3OEGnKVpoif+er =B0k6 -----END PGP SIGNATURE----- --Apple-Mail=_B59C7C3C-74E4-4DFA-A901-8B873AECB7C0--