mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Himangi Saraogi <[email protected]> Acked-by: Julia Lawall <[email protected]> Acked-by: Andreas Noever <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>