svn commit: r347816 - stable/11/sys/dev/mlx5/mlx5_core
Hans Petter Selasky
hselasky at FreeBSD.org
Thu May 16 17:25:02 UTC 2019
Author: hselasky
Date: Thu May 16 17:25:01 2019
New Revision: 347816
URL: https://svnweb.freebsd.org/changeset/base/347816
Log:
MFC r347265:
Ticks are integer type in FreeBSD.
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/dev/mlx5/mlx5_core/mlx5_health.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_health.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_health.c Thu May 16 17:24:21 2019 (r347815)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_health.c Thu May 16 17:25:01 2019 (r347816)
@@ -255,7 +255,7 @@ mlx5_health_allow_reset(struct mlx5_core_dev *dev)
#define MLX5_NIC_STATE_POLL_MS 5
void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force)
{
- unsigned long end, delay_ms = MLX5_CRDUMP_WAIT_MS;
+ int end, delay_ms = MLX5_CRDUMP_WAIT_MS;
u32 fatal_error;
int lock = -EBUSY;
@@ -299,7 +299,7 @@ void mlx5_enter_error_state(struct mlx5_core_dev *dev,
} while (!time_after(jiffies, end));
if (!sensor_nic_disabled(dev)) {
- dev_err(&dev->pdev->dev, "NIC IFC still %d after %lums.\n",
+ dev_err(&dev->pdev->dev, "NIC IFC still %d after %ums.\n",
get_nic_mode(dev), delay_ms);
}
More information about the svn-src-stable-11
mailing list