Re: [PATCH v7] gpudev: manage NULL pointer

2021-11-24 Thread Thomas Monjalon
23/11/2021 01:42, 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 v7] 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