23/11/2021 01:42, [email protected]:
> From: Elena Agostini <[email protected]>
>
> 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 API")
>
> Signed-off-by: Elena Agostini <[email protected]>
Applied with updated commit message:
gpudev: manage null parameters in memory functions
The gpudev functions free, register and unregister
return gracefully if input pointer is NULL or size 0,
as API doc was indicating no-op accepted values.
CUDA driver checks are removed because redundant
with the checks added in gpudev library.