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 1717#include <umf/memory_provider_ops.h>
1818#include <umf/providers/provider_devdax_memory.h>
1919
20+ #include "utils_log.h"
21+
2022#if defined(_WIN32 ) || defined(UMF_NO_HWLOC )
2123
2224umf_memory_provider_ops_t * umfDevDaxMemoryProviderOps (void ) {
2325 // not supported
26+ LOG_ERR ("DevDax memory provider is disabled!" );
2427 return NULL ;
2528}
2629
@@ -30,12 +33,14 @@ umf_result_t umfDevDaxMemoryProviderParamsCreate(
3033 (void )hParams ;
3134 (void )path ;
3235 (void )size ;
36+ LOG_ERR ("DevDax memory provider is disabled!" );
3337 return UMF_RESULT_ERROR_NOT_SUPPORTED ;
3438}
3539
3640umf_result_t umfDevDaxMemoryProviderParamsDestroy (
3741 umf_devdax_memory_provider_params_handle_t hParams ) {
3842 (void )hParams ;
43+ LOG_ERR ("DevDax memory provider is disabled!" );
3944 return UMF_RESULT_ERROR_NOT_SUPPORTED ;
4045}
4146
@@ -45,13 +50,15 @@ umf_result_t umfDevDaxMemoryProviderParamsSetDeviceDax(
4550 (void )hParams ;
4651 (void )path ;
4752 (void )size ;
53+ LOG_ERR ("DevDax memory provider is disabled!" );
4854 return UMF_RESULT_ERROR_NOT_SUPPORTED ;
4955}
5056
5157umf_result_t umfDevDaxMemoryProviderParamsSetProtection (
5258 umf_devdax_memory_provider_params_handle_t hParams , unsigned protection ) {
5359 (void )hParams ;
5460 (void )protection ;
61+ LOG_ERR ("DevDax memory provider is disabled!" );
5562 return UMF_RESULT_ERROR_NOT_SUPPORTED ;
5663}
5764
You can’t perform that action at this time.
0 commit comments