Enrico Weigelt, metux IT consult
a222349c43
xi: replace xallocarray() by calloc()
...
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
@@
expression COUNT;
expression LEN;
@@
- xallocarray(COUNT,LEN)
+ calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2025-06-12 17:21:43 +02:00
..
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 16:53:43 +02:00
2025-06-12 16:53:37 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:42 +02:00
2025-06-12 16:53:43 +02:00
2025-06-12 16:19:33 +02:00
2025-06-12 16:53:27 +02:00
2025-06-12 16:50:57 +02:00
2025-06-12 16:19:33 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 16:52:07 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 16:34:14 +02:00