summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorBernard Zhao <bernard@vivo.com>2021-03-31 16:12:18 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 23:50:26 +0300
commitccc4343041f21023a321ba36c5de8dff2ba6121a (patch)
tree551d2f950778204e315fe37411216693d50e36b7 /lib/mpi/mpiutil.c
parent5a4345270474c886dceee48c5b54b5c2c07aa877 (diff)
downloadlinux-ccc4343041f21023a321ba36c5de8dff2ba6121a.tar.xz
drm/amd: use kmalloc_array over kmalloc with multiply
Fix patch check warning: WARNING: Prefer kmalloc_array over kmalloc with multiply + buf = kmalloc(MAX_KFIFO_SIZE * sizeof(*buf), GFP_KERNEL); Signed-off-by: Bernard Zhao <bernard@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions