Date: Sun, 18 Dec 2016 16:10:55 +0100 From: "O. Hartmann" <ohartmann@walstatt.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: "O. Hartmann" <ohartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long Message-ID: <20161218161055.28dd0d2b@thor.walstatt.dynvpn.de> In-Reply-To: <ADE40992-9103-442F-8445-BC3BD38629D8@FreeBSD.org> References: <20161217124634.131a97b4@thor.walstatt.dynvpn.de> <ADE40992-9103-442F-8445-BC3BD38629D8@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Am Sat, 17 Dec 2016 18:27:18 +0100 Dimitry Andric <dim@FreeBSD.org> schrieb: > On 17 Dec 2016, at 12:46, O. Hartmann <ohartmann@walstatt.org> wrote: > > > > Recent kernel source reject to build: > > > > [...] > > --- all_subdir_mlx4ib --- > > --- mlx4_ib_sysfs.o --- > > /usr/src/sys/modules/mlx4ib/../../dev/mlx4/mlx4_ib/mlx4_ib_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 > > 1 error generated. > > Ha, my r310171, which enabled sscanf() format checking, is already > working, it seems! I built kernels for both i386 and amd64 without > problems, but you may be using some non-default module or settings which > trigger this warning. > > For which arch are you building here, and do you have any particular > build settings which might influence this? > > -Dimitry > Still with revision 310228 :-( -- O. Hartmann Ich widerspreche der Nutzung oder Übermittlung meiner Daten für Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG). [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWFam/wAKCRDS528fyFhY lBsiAf9rletql3+3Nm2533EnzxUsx3wRxGO01HaMr7ANDm2aTypVNc+s9Bu2qMk2 gnPoLWjLa1R7nUqxE3//Y3LmliZWAf4x99wi2tPLkIc5k1L4DLXETao5+G2v3zuB QzQ4sJ9qfMaXeOIdfmhvHndQtmgd6uCl+Xa4eC99YreiYf4LgRpP =awP5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161218161055.28dd0d2b>
