Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 21:12:11 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Pete French <petefrench@ingresso.co.uk>
Cc:        stable@freebsd.org
Subject:   Re: 11-STABLE fails to build with MK_OFED enabled
Message-ID:  <469F5DD8-7493-41C5-B999-931AFF207A5B@FreeBSD.org>
In-Reply-To: <E1co8G8-00014I-0u@dilbert.ingresso.co.uk>
References:  <E1co8G8-00014I-0u@dilbert.ingresso.co.uk>

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

--Apple-Mail=_7E10409F-AD4A-46AB-B6C7-39081416F8CA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 15 Mar 2017, at 13:42, Pete French <petefrench@ingresso.co.uk> wrote:
>=20
>=20
>=20
> =
/usr/src/sys/modules/mlx4ib/../../ofed/drivers/infiniband/hw/mlx4/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
>=20
> Fairly trivial to fix obviously - I chnaged it to %lx - but not sure =
that would
> work on non 64 bit platforms.

Hi Pete,

I have merged the fix (r310232) in r315328.

-Dimitry


--Apple-Mail=_7E10409F-AD4A-46AB-B6C7-39081416F8CA
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAljJoCIACgkQsF6jCi4glqObmACcD3RmB3CL2iK3YpwrjhnzuR7g
c1UAn1eWOvOqnKJtoPHQc9OTeCv+xZvA
=utxF
-----END PGP SIGNATURE-----

--Apple-Mail=_7E10409F-AD4A-46AB-B6C7-39081416F8CA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469F5DD8-7493-41C5-B999-931AFF207A5B>