Date: Thu, 16 Mar 2017 10:47:25 +0000 From: Pete French <petefrench@ingresso.co.uk> To: Dimitry Andric <dim@FreeBSD.org> Cc: stable@freebsd.org Subject: Re: 11-STABLE fails to build with MK_OFED enabled Message-ID: <09213e48-9ee5-20f0-ed10-de11e45fbb37@ingresso.co.uk> In-Reply-To: <469F5DD8-7493-41C5-B999-931AFF207A5B@FreeBSD.org> References: <E1co8G8-00014I-0u@dilbert.ingresso.co.uk> <469F5DD8-7493-41C5-B999-931AFF207A5B@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09213e48-9ee5-20f0-ed10-de11e45fbb37>