11-STABLE fails to build with MK_OFED enabled

Pete French petefrench at ingresso.co.uk
Wed Mar 15 12:42:35 UTC 2017



/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.

-pete.


More information about the freebsd-stable mailing list