commit | c5e0ec66f01d6621a64837428efcbbe731d90cd5 | [log] [tgz] |
---|---|---|
author | Oded Gabbay <oded.gabbay@gmail.com> | Sat Aug 29 11:55:15 2020 +0300 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Tue Sep 22 18:49:51 2020 +0300 |
tree | 7c3fd221a9cfd20789584e3c5401b9530546b497 | |
parent | 3174ac9bb1045946ff563aa01d679809e87fb2db [diff] |
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: Oded Gabbay <oded.gabbay@gmail.com>