Files
linux/kernel
wuchi 83d87a4ddb relay: use kvcalloc to alloc page array in relay_alloc_page_array
kvcalloc() is safer because it will check the integer overflows, and using
it will simple the logic of allocation size.

Link: https://lkml.kernel.org/r/20220909101025.82955-1-wuchi.zero@gmail.com
Signed-off-by: wuchi <wuchi.zero@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-03 14:21:43 -07:00
..
2021-12-02 17:25:21 +09:00
2021-09-08 15:32:35 -07:00
2022-03-15 10:32:44 +01:00
2022-09-11 21:55:07 -07:00
2021-06-18 11:43:08 +02:00
2021-05-07 00:26:33 -07:00
2021-10-14 13:29:18 +02:00
2020-07-27 14:31:12 -04:00
2022-02-25 09:36:06 +01:00
2020-08-19 14:13:20 +02:00