Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 12:42:32 +0000
From:      Pete French <petefrench@ingresso.co.uk>
To:        stable@freebsd.org
Subject:   11-STABLE fails to build with MK_OFED enabled
Message-ID:  <E1co8G8-00014I-0u@dilbert.ingresso.co.uk>

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


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1co8G8-00014I-0u>