Skip to content

Commit 1820e07

Browse files
committed
Reorder structure for compatibility with linux-6.0
ghstack-source-id: 3ae5e21 Pull Request resolved: #349
1 parent 4a5e339 commit 1820e07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(gloo CXX C)
44

55
set(GLOO_VERSION_MAJOR 0)
66
set(GLOO_VERSION_MINOR 5)
7-
set(GLOO_VERSION_PATCH 0)
7+
set(GLOO_VERSION_PATCH 1)
88
set(GLOO_VERSION
99
"${GLOO_VERSION_MAJOR}.${GLOO_VERSION_MINOR}.${GLOO_VERSION_PATCH}")
1010

gloo/common/linux.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ static int getInterfaceSpeedGLinkSettings(int sock, struct ifreq* ifr) {
193193
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)
194194
constexpr auto link_mode_data_nwords = 3 * 127;
195195
struct {
196-
struct ethtool_link_settings req;
197196
__u32 link_mode_data[link_mode_data_nwords];
197+
struct ethtool_link_settings req;
198198
} ecmd;
199199
int rv;
200200

0 commit comments

Comments
 (0)