1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix build failure for 32-bit platforms after r352991, due to

incorrect printf() formatter string.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2019-10-02 12:02:14 +00:00
parent 028af4ae67
commit 67a254a074
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353000

View File

@ -692,8 +692,8 @@ static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili,
}
if (warn_time_mili && time_after(jiffies, warn)) {
mlx5_core_warn(dev,
"Waiting for FW initialization, timeout abort in %lu s\n",
jiffies_to_msecs(end - warn) / 1000);
"Waiting for FW initialization, timeout abort in %u s\n",
(unsigned int)(jiffies_to_msecs(end - warn) / 1000));
warn = jiffies + msecs_to_jiffies(warn_time_mili);
}
msleep(FW_INIT_WAIT_MS);