summaryrefslogtreecommitdiff
path: root/include/asm-generic/mm-arch-hooks.h
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-02-28 10:46:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-28 13:06:09 +0100
commit9e28c176410ca71a34daf98db048a6e07586a13c (patch)
tree8de71b4cc5513689968414ab7390a23648ca1da3 /include/asm-generic/mm-arch-hooks.h
parentdf3a8875b5d77b8d9904bab15b0b11e1880f52c4 (diff)
habanalabs: fix memory leak with CBs with unaligned size
This patch fix a bug when a command buffer with unaligned size (with regard to PAGE_SIZE) was used. The accounting for the unmap operation wasn't done correctly and could result in a memory leak. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic/mm-arch-hooks.h')
0 files changed, 0 insertions, 0 deletions