Re: 11-STABLE fails to build with MK_OFED enabled

2017-03-16 Thread Pete French
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 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 ha

Re: 11-STABLE fails to build with MK_OFED enabled

2017-03-15 Thread Dimitry Andric
On 15 Mar 2017, at 13:42, Pete French 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

11-STABLE fails to build with MK_OFED enabled

2017-03-15 Thread Pete French
/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);