File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 17
17
#include <umf/memory_provider_ops.h>
18
18
#include <umf/providers/provider_devdax_memory.h>
19
19
20
+ #include "utils_log.h"
21
+
20
22
#if defined(_WIN32 ) || defined(UMF_NO_HWLOC )
21
23
22
24
umf_memory_provider_ops_t * umfDevDaxMemoryProviderOps (void ) {
23
25
// not supported
26
+ LOG_ERR ("DevDax memory provider is disabled!" );
24
27
return NULL ;
25
28
}
26
29
@@ -30,12 +33,14 @@ umf_result_t umfDevDaxMemoryProviderParamsCreate(
30
33
(void )hParams ;
31
34
(void )path ;
32
35
(void )size ;
36
+ LOG_ERR ("DevDax memory provider is disabled!" );
33
37
return UMF_RESULT_ERROR_NOT_SUPPORTED ;
34
38
}
35
39
36
40
umf_result_t umfDevDaxMemoryProviderParamsDestroy (
37
41
umf_devdax_memory_provider_params_handle_t hParams ) {
38
42
(void )hParams ;
43
+ LOG_ERR ("DevDax memory provider is disabled!" );
39
44
return UMF_RESULT_ERROR_NOT_SUPPORTED ;
40
45
}
41
46
@@ -45,13 +50,15 @@ umf_result_t umfDevDaxMemoryProviderParamsSetDeviceDax(
45
50
(void )hParams ;
46
51
(void )path ;
47
52
(void )size ;
53
+ LOG_ERR ("DevDax memory provider is disabled!" );
48
54
return UMF_RESULT_ERROR_NOT_SUPPORTED ;
49
55
}
50
56
51
57
umf_result_t umfDevDaxMemoryProviderParamsSetProtection (
52
58
umf_devdax_memory_provider_params_handle_t hParams , unsigned protection ) {
53
59
(void )hParams ;
54
60
(void )protection ;
61
+ LOG_ERR ("DevDax memory provider is disabled!" );
55
62
return UMF_RESULT_ERROR_NOT_SUPPORTED ;
56
63
}
57
64
You can’t perform that action at this time.
0 commit comments