svn commit: r337068 - stable/11/sys/ofed/drivers/infiniband/core

Hans Petter Selasky hselasky at FreeBSD.org
Thu Aug 2 08:04:22 UTC 2018


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);


More information about the svn-src-stable-11 mailing list