diff options
author | Ofir Bitton <obitton@habana.ai> | 2020-08-11 08:57:45 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-08-22 12:47:58 +0300 |
commit | 0839152f8c1efc1cc2d515d1ff1e253ca9402ad3 (patch) | |
tree | 5f9289b6926b13486ef957581741f134a4753f72 /drivers/misc/genwqe | |
parent | bce382a8bb080ed5f2f3a06754526dc58b91cca2 (diff) | |
download | linux-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