Re: [PATCH 1/6] habanalabs: add helper function to get vm hash node

2023-03-01 Thread Stanislaw Gruszka
On Mon, Feb 27, 2023 at 01:13:01PM +0200, Oded Gabbay wrote: > From: Tomer Tayar > > Add a helper function to search the vm hash for a node with a given > virtual address. > As opposed to the current code, this function explicitly returns NULL > when no node is found, instead of basing on the

[PATCH 1/6] habanalabs: add helper function to get vm hash node

2023-02-27 Thread Oded Gabbay
From: Tomer Tayar Add a helper function to search the vm hash for a node with a given virtual address. As opposed to the current code, this function explicitly returns NULL when no node is found, instead of basing on the loop cursor object's value. Signed-off-by: Tomer Tayar Reviewed-by: Oded