components/open-fabrics/libibverbs/patches/005-libibverbs-explorer-hangs-running-ibis-with-Titan-cards.patch
author zihao.zhu@oracle.com <zihao.zhu@oracle.com>
Mon, 17 Oct 2016 09:22:53 -0700
changeset 7116 24e5d18aa27c
parent 5805 5320af34d217
permissions -rw-r--r--
23606339 openldap role audit class not set to "cusa"
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5805
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     1
#This patch was developed both in-house and from outside. We plan to submit it
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     2
#upstream, but do not yet have a target date for doing so
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     3
#
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     4
# HG changeset patch
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     5
# Parent  b116e18142b1d4ec433b67c77f389bf975cc8c42
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     6
22741696 Explorer hangs running ibis on system with Titan cards
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     7
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     8
diff -r b116e18142b1 src/init.c
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
     9
--- a/src/init.c	Tue Apr 19 10:06:00 2016 -0700
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    10
+++ b/src/init.c	Tue Apr 19 10:17:34 2016 -0700
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    11
@@ -603,6 +603,7 @@
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    12
 		}
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    13
 		free(sysfs_dev);
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    14
 	}
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    15
+	sysfs_dev_list = NULL;
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    16
 
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    17
 	return num_devices;
5320af34d217 22741696 Explorer hangs running ibis on system with Titan cards
boris.chiu@oracle.com
parents:
diff changeset
    18
 }