aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2021-01-08 10:58:10 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2021-01-22 12:11:20 +0000
commit76c0d2c74670e11a2429acb65cfc3b0d32907447 (patch)
treea93532a000c3e573df723372c6fe944bfb37d913
parent316382e22e1bea347fb11a0cca9d84a27ce54cc3 (diff)
downloadsrc-76c0d2c74670e11a2429acb65cfc3b0d32907447.tar.gz
src-76c0d2c74670e11a2429acb65cfc3b0d32907447.zip
MFC 82c7abe7785b:
The "unsigned" type is the same like "unsigned int". Sponsored by: Mellanox Technologies // NVIDIA Networking
-rw-r--r--sys/dev/mlx5/mlx5_core/mlx5_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_main.c b/sys/dev/mlx5/mlx5_core/mlx5_main.c
index ed7dba29fe6a..648f3c808f3b 100644
--- a/sys/dev/mlx5/mlx5_core/mlx5_main.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_main.c
@@ -707,7 +707,7 @@ 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 %u s\n",
- (unsigned int)(jiffies_to_msecs(end - warn) / 1000));
+ (unsigned)(jiffies_to_msecs(end - warn) / 1000));
warn = jiffies + msecs_to_jiffies(warn_time_mili);
}
msleep(FW_INIT_WAIT_MS);