diff options
| author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-12-10 16:47:11 +0000 |
|---|---|---|
| committer | Emmanuel Vadot <manu@FreeBSD.org> | 2021-01-12 11:31:00 +0000 |
| commit | 105a37cac76b971f7a94409fbdc4f508a7e97fa0 (patch) | |
| tree | d93f05ded14b77aa8ff4a13b691c0dc611ecaf2d /sys/dev/mlx4 | |
| parent | 8517a547a05209c7da2c895e2d7c296ec54dd068 (diff) | |
Diffstat (limited to 'sys/dev/mlx4')
| -rw-r--r-- | sys/dev/mlx4/mlx4_core/mlx4_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx4/mlx4_core/mlx4_main.c b/sys/dev/mlx4/mlx4_core/mlx4_main.c index ee17418388eb..48cc2fc7d3f6 100644 --- a/sys/dev/mlx4/mlx4_core/mlx4_main.c +++ b/sys/dev/mlx4/mlx4_core/mlx4_main.c @@ -3781,7 +3781,7 @@ static int mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id) return ret; } else { device_set_desc(pdev->dev.bsddev, mlx4_description); - pci_save_state(pdev->dev.bsddev); + pci_save_state(pdev); } snprintf(dev->fw_str, sizeof(dev->fw_str), "%d.%d.%d", |
