Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2016 16:22:31 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long
Message-ID:  <E7905C81-1585-4F60-AD6E-B7442828B786@FreeBSD.org>
In-Reply-To: <20161218161055.28dd0d2b@thor.walstatt.dynvpn.de>
References:  <20161217124634.131a97b4@thor.walstatt.dynvpn.de> <ADE40992-9103-442F-8445-BC3BD38629D8@FreeBSD.org> <20161218161055.28dd0d2b@thor.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ohartmann@walstatt.org> wrote:
>=20
> Am Sat, 17 Dec 2016 18:27:18 +0100
> Dimitry Andric <dim@FreeBSD.org> schrieb:
>=20
>> On 17 Dec 2016, at 12:46, O. Hartmann <ohartmann@walstatt.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7905C81-1585-4F60-AD6E-B7442828B786>