Skip to content

Commit ffb0f28

Browse files
authored
Merge pull request #2071 from lslusarczyk/compilation_fixes_for_sles
[common] fixed some compilation warnings
2 parents 781d3f4 + b905b08 commit ffb0f28

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

source/common/umf_helpers.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ using provider_unique_handle_t =
5858
return UMF_RESULT_ERROR_NOT_SUPPORTED; \
5959
}
6060

61-
DEFINE_CHECK_OP(get_ipc_handle_size);
62-
DEFINE_CHECK_OP(get_ipc_handle);
63-
DEFINE_CHECK_OP(put_ipc_handle);
64-
DEFINE_CHECK_OP(open_ipc_handle);
65-
DEFINE_CHECK_OP(close_ipc_handle);
61+
DEFINE_CHECK_OP(get_ipc_handle_size)
62+
DEFINE_CHECK_OP(get_ipc_handle)
63+
DEFINE_CHECK_OP(put_ipc_handle)
64+
DEFINE_CHECK_OP(open_ipc_handle)
65+
DEFINE_CHECK_OP(close_ipc_handle)
6666

6767
#define UMF_ASSIGN_OP(ops, type, func, default_return) \
6868
ops.func = [](void *obj, auto... args) { \

test/conformance/cts_exe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
result = subprocess.Popen([args.test_command, '--gtest_brief=1', # nosec B603
2929
f'--devices_count={args.devices_count}',
3030
f'--platforms_count={args.platforms_count}'],
31-
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
31+
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
3232

3333
pat = re.compile(r'\[( )*FAILED( )*\]')
3434
output_list = []

test/layers/validation/fixtures.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ struct valAllDevicesTest : valPlatformTest {
128128

129129
// We use this to avoid segfaults in the mock adapter when we're doing stuff
130130
// like double releases in the leak detection tests.
131-
inline ur_result_t genericSuccessCallback(void *) { return UR_RESULT_SUCCESS; };
131+
inline ur_result_t genericSuccessCallback(void *) { return UR_RESULT_SUCCESS; }
132132

133133
// This returns valid (non-null) handles that we can safely leak.
134134
inline ur_result_t fakeContext_urContextCreate(void *pParams) {

0 commit comments

Comments
 (0)