The branch main has been updated by hselasky:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=50a9f8bbc1dd3551440dcd30fd9d85ee14353248

commit 50a9f8bbc1dd3551440dcd30fd9d85ee14353248
Author:     Hans Petter Selasky <hsela...@freebsd.org>
AuthorDate: 2021-01-08 10:50:41 +0000
Commit:     Hans Petter Selasky <hsela...@freebsd.org>
CommitDate: 2021-01-08 11:35:53 +0000

    Downgrade error about missing VSC to warning and make messages consistent
    in mlx5core.
    
    Submitted by: kib@
    MFC after: 1 week
    Sponsored by: Mellanox Technologies // NVIDIA Networking
---
 sys/dev/mlx5/mlx5_core/mlx5_fwdump.c | 2 +-
 sys/dev/mlx5/mlx5_core/mlx5_main.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c 
b/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c
index 622ea7ae0cdb..d633333cb80d 100644
--- a/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c
@@ -72,7 +72,7 @@ mlx5_fwdump_prep(struct mlx5_core_dev *mdev)
        if (error != 0) {
                /* Inability to create a firmware dump is not fatal. */
                mlx5_core_warn(mdev,
-                   "Failed to find vendor-specific capability, error %d\n",
+                   "Unable to find vendor-specific capability, error %d\n",
                    error);
                return;
        }
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_main.c 
b/sys/dev/mlx5/mlx5_core/mlx5_main.c
index 8437596dba8f..d0b4027165ea 100644
--- a/sys/dev/mlx5/mlx5_core/mlx5_main.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_main.c
@@ -937,7 +937,7 @@ static int mlx5_init_once(struct mlx5_core_dev *dev, struct 
mlx5_priv *priv)
 
        err = mlx5_vsc_find_cap(dev);
        if (err)
-               mlx5_core_err(dev, "Unable to find vendor specific 
capabilities\n");
+               mlx5_core_warn(dev, "Unable to find vendor specific 
capabilities\n");
 
        err = mlx5_query_hca_caps(dev);
        if (err) {
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to