Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 13:28:23 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325649 - head/sys/dev/mlx5/mlx5_core
Message-ID:  <201711101328.vAADSNFP000956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Nov 10 13:28:23 2017
New Revision: 325649
URL: https://svnweb.freebsd.org/changeset/base/325649

Log:
  Make local variable 64-bits to avoid masking away bits in mlx5 core.
  
  Sponsored by:	Mellanox Technologies
  MFC after:	1 week

Modified:
  head/sys/dev/mlx5/mlx5_core/mlx5_eq.c

Modified: head/sys/dev/mlx5/mlx5_core/mlx5_eq.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_core/mlx5_eq.c	Fri Nov 10 13:25:29 2017	(r325648)
+++ head/sys/dev/mlx5/mlx5_core/mlx5_eq.c	Fri Nov 10 13:28:23 2017	(r325649)
@@ -510,7 +510,7 @@ void mlx5_eq_cleanup(struct mlx5_core_dev *dev)
 int mlx5_start_eqs(struct mlx5_core_dev *dev)
 {
 	struct mlx5_eq_table *table = &dev->priv.eq_table;
-	u32 async_event_mask = MLX5_ASYNC_EVENT_MASK;
+	u64 async_event_mask = MLX5_ASYNC_EVENT_MASK;
 	int err;
 
 	if (MLX5_CAP_GEN(dev, port_module_event))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711101328.vAADSNFP000956>