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

[-- Attachment #1 --]
On 15 Mar 2017, at 13:42, Pete French <petefrench@ingresso.co.uk> wrote:
> 
> 
> 
> /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
> 
> 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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

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

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