Johannes Berg 3180c44fe1 gcov: simplify buffer allocation
Use just a single vmalloc() with struct_size() instead of a separate
kmalloc() for the iter struct.

Link: https://lkml.kernel.org/r/20210315235453.b6de4a92096e.Iac40a5166589cefbff8449e466bd1b38ea7a17af@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-07 00:26:32 -07:00
..
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:32 -07:00
2021-05-07 00:26:32 -07:00
2020-04-16 12:28:35 +01:00