Re: r310188: kernel build failure due to mlx4_ib_sysfs.c:90:22: error: format specifies type 'unsigned long long

From: O. Hartmann <o.hartmann_at_walstatt.org>
Date: Sun, 18 Dec 2016 16:42:07 +0100
Am Sun, 18 Dec 2016 16:22:31 +0100
Dimitry Andric <dim_at_FreeBSD.org> schrieb:

> On 18 Dec 2016, at 16:10, O. Hartmann <ohartmann_at_walstatt.org> wrote:
> > 
> > Am Sat, 17 Dec 2016 18:27:18 +0100
> > Dimitry Andric <dim_at_FreeBSD.org> schrieb:
> >   
> >> On 17 Dec 2016, at 12:46, O. Hartmann <ohartmann_at_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 :-(  
> 
> After reviewing by the mlx4ib maintainer, this should now be fixed with r310232.
> 
> -Dimitry
> 

Yes it is ;-)
Thank you.

oh


-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

Received on Sun Dec 18 2016 - 14:42:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC