summaryrefslogtreecommitdiff
path: root/drivers/misc/genwqe
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2020-08-11 08:57:45 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-08-22 12:47:58 +0300
commit0839152f8c1efc1cc2d515d1ff1e253ca9402ad3 (patch)
tree5f9289b6926b13486ef957581741f134a4753f72 /drivers/misc/genwqe
parentbce382a8bb080ed5f2f3a06754526dc58b91cca2 (diff)
downloadlinux-0839152f8c1efc1cc2d515d1ff1e253ca9402ad3.tar.xz
habanalabs: check correct vmalloc return code
vmalloc can return different return code than NULL and a valid pointer. We must validate it in order to dereference a non valid pointer. Signed-off-by: Ofir Bitton <obitton@habana.ai> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/genwqe')
0 files changed, 0 insertions, 0 deletions