diff --git a/level_zero/core/test/unit_tests/sources/context/test_context.cpp b/level_zero/core/test/unit_tests/sources/context/test_context.cpp index 48542d4f49..dfc68ea17f 100644 --- a/level_zero/core/test/unit_tests/sources/context/test_context.cpp +++ b/level_zero/core/test/unit_tests/sources/context/test_context.cpp @@ -2994,7 +2994,7 @@ TEST_F(ContextTest, whenCallingSetIPCHandleDataWithInvalidIpcHandleTypeThenHandl // Test with completely invalid handle type (beyond enum range) handle = 22222; opaqueIpcData = {}; // Reset - L0::IpcHandleType invalidHandleType2 = static_cast(255); + L0::IpcHandleType invalidHandleType2 = L0::IpcHandleType::maxHandle; contextWhitebox.setIPCHandleData(&mockAllocation, handle, opaqueIpcData, ptrAddress, type, nullptr, invalidHandleType2); diff --git a/shared/test/unit_test/gmm_helper/gmm_resource_info_drm_or_wddm_tests.cpp b/shared/test/unit_test/gmm_helper/gmm_resource_info_drm_or_wddm_tests.cpp index cb506b5673..cc41a74ebd 100644 --- a/shared/test/unit_test/gmm_helper/gmm_resource_info_drm_or_wddm_tests.cpp +++ b/shared/test/unit_test/gmm_helper/gmm_resource_info_drm_or_wddm_tests.cpp @@ -21,7 +21,7 @@ using namespace NEO; // Mock the underlying GMM_RESOURCE_INFO to test the real DRM_OR_WDDM implementation class MockGmmResourceInfoDrmOrWddm { public: - uint64_t GetDriverProtectionBits(GMM_OVERRIDE_VALUES overrideValues) { + uint64_t getDriverProtectionBits(GMM_OVERRIDE_VALUES overrideValues) { lastOverrideValues = overrideValues; getDriverProtectionBitsCalled = true; return returnValue; @@ -47,7 +47,7 @@ class TestableGmmResourceInfo : public GmmResourceInfo { if (GMM_RESOURCE_USAGE_UNKNOWN != overrideUsage) { overrideValues.Usage = static_cast(overrideUsage); } - return mockResourceInfo->GetDriverProtectionBits(overrideValues); + return mockResourceInfo->getDriverProtectionBits(overrideValues); } // Expose clientContext for testing