11-STABLE fails to build with MK_OFED enabled
Pete French
petefrench at ingresso.co.uk
Thu Mar 16 10:47:30 UTC 2017
Thanks - that is a better fix than my hack ;-)
On 03/15/17 20:12, Dimitry Andric wrote:
> On 15 Mar 2017, at 13:42, Pete French <petefrench at 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
>
More information about the freebsd-stable
mailing list