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

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Sat, 17 Dec 2016 12:46:34 +0100
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.
*** [mlx4_ib_sysfs.o] Error code 1

make[4]: stopped in /usr/src/sys/modules/mlx4ib

-- 
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 Sat Dec 17 2016 - 10:46:49 UTC

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