Re: [PATCH v5] gpudev: manage NULL pointer
From: Thomas Monjalon <hidden>
Date: 2021-11-22 16:01:29
From: Thomas Monjalon <hidden>
Date: 2021-11-22 16:01:29
23/11/2021 00:55, eagostini@nvidia.com:
From: Elena Agostini <redacted> gpudev free and unregister functions return gracefully if input pointer is NULL because API doc was indicating NULL as a no-op accepted value. cuda driver checks are removed because redundant with the checks added in gpudev library.
You didn't remove the check in cuda_mem_register.