Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 08:04:21 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r337068 - stable/11/sys/ofed/drivers/infiniband/core
Message-ID:  <201808020804.w7284LIq033602@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Aug  2 08:04:21 2018
New Revision: 337068
URL: https://svnweb.freebsd.org/changeset/base/337068

Log:
  MFC r335094 and r335123:
  Revert r335094 and properly fix OFED build after r335053.
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/11/sys/ofed/drivers/infiniband/core/ib_user_mad.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/ofed/drivers/infiniband/core/ib_user_mad.c
==============================================================================
--- stable/11/sys/ofed/drivers/infiniband/core/ib_user_mad.c	Thu Aug  2 07:43:28 2018	(r337067)
+++ stable/11/sys/ofed/drivers/infiniband/core/ib_user_mad.c	Thu Aug  2 08:04:21 2018	(r337068)
@@ -130,7 +130,7 @@ struct ib_umad_packet {
 
 static struct class *umad_class;
 
-static const dev_t base_dev = MKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE);
+#define	base_dev MKDEV(IB_UMAD_MAJOR, IB_UMAD_MINOR_BASE)
 
 static DEFINE_SPINLOCK(port_lock);
 static DECLARE_BITMAP(dev_map, IB_UMAD_MAX_PORTS);



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