--- zzzz-none-000/linux-3.10.107/drivers/base/map.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/base/map.c 2021-02-04 17:41:59.000000000 +0000 @@ -41,8 +41,7 @@ if (n > 255) n = 255; - p = kmalloc(sizeof(struct probe) * n, GFP_KERNEL); - + p = kmalloc_array(n, sizeof(struct probe), GFP_KERNEL); if (p == NULL) return -ENOMEM;