- Add libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
* Fix issue with umad when QSFP is not plugged in (bnc#1058539) OBS-URL: https://build.opensuse.org/package/show/science:HPC/rdma-core?expand=0&rev=58
This commit is contained in:
parent
4f1863d296
commit
f33a17a320
@ -0,0 +1,14 @@
|
||||
diff --git libibumad/umad.c libibumad/umad.c
|
||||
index 535256e2..dcb2c680 100644
|
||||
--- libibumad/umad.c
|
||||
+++ libibumad/umad.c
|
||||
@@ -150,8 +150,7 @@ static int get_port(const char *ca_name, const char *dir, int portnum, umad_port
|
||||
goto clean;
|
||||
if (sys_read_uint(port_dir, SYS_PORT_PHY_STATE, &port->phys_state) < 0)
|
||||
goto clean;
|
||||
- if (sys_read_uint(port_dir, SYS_PORT_RATE, &port->rate) < 0)
|
||||
- goto clean;
|
||||
+ sys_read_uint(port_dir, SYS_PORT_RATE, &port->rate);
|
||||
if (sys_read_uint(port_dir, SYS_PORT_CAPMASK, &capmask) < 0)
|
||||
goto clean;
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 8 14:05:44 UTC 2017 - nmoreychaisemartin@suse.com
|
||||
|
||||
- Add libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
|
||||
* Fix issue with umad when QSFP is not plugged in (bnc#1058539)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 08:39:49 UTC 2017 - nmoreychaisemartin@suse.com
|
||||
|
||||
|
@ -53,6 +53,7 @@ Source1: baselibs.conf
|
||||
Patch0: ibacm-Incorrect-usage-of-BE-byte-order-of-MLID-attach-detach_mcast.patch
|
||||
Patch1: ibacm-Incorrect-list-used-for-subnet-list-causes-a-segfault.patch
|
||||
Patch2: libqedr-fix-inline-data-copy.patch
|
||||
Patch3: libibumad-umad.c-In-get_port-ignore-sysfs-rate-file-errors.patch
|
||||
BuildRequires: binutils
|
||||
BuildRequires: cmake >= 2.8.11
|
||||
BuildRequires: gcc
|
||||
@ -317,6 +318,7 @@ on those changes.
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user