Re: [PATCH v5] gpudev: manage NULL pointer

2021-11-22 Thread Thomas Monjalon
23/11/2021 00:55, eagost...@nvidia.com: > From: Elena Agostini > > 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 > i

[PATCH v5] gpudev: manage NULL pointer

2021-11-22 Thread eagostini
From: Elena Agostini 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. Fixes: e818c4e2bf50 ("gpudev: add memory