Skip to content
Commit c5e0ec66 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: clear vm_pgoff before doing the mmap



The driver use vm_pgoff to hold the CB idr handle. Before we actually call
the mapping function, we need to clear the handle so there won't be any
garbage left in vm_pgoff.

Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent 3174ac9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment