commit | e6721ea845fcb93a764a92bd40f1afc0d6c69751 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Fri Apr 12 06:11:25 2024 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 13 12:50:17 2024 +0200 |
tree | eb80aad936111b6e7b2b740b1ab7e6c52cc45680 | |
parent | 931e5381cb30355332f20854f80a0a1f18f6f1f1 [diff] |
amdkfd: use calloc instead of kzalloc to avoid integer overflow commit 3b0daecfeac0103aba8b293df07a0cbaf8b43f29 upstream. This uses calloc instead of doing the multiplication which might overflow. Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>