diff options
author | Denis Efremov <[email protected]> | 2020-08-28 01:16:52 +0300 |
---|---|---|
committer | Jan Kara <[email protected]> | 2020-08-28 12:28:58 +0200 |
commit | 256ccb9baeaba2b1a4ed5324c02b8d723497ca5a (patch) | |
tree | 52c36150aa7bb165a2a3c12899efa8e4dac27f5b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 25094ede57d4c5b7ad6474b0b4490f12d21b3702 (diff) |
udf: Use kvzalloc() in udf_sb_alloc_bitmap()
Use kvzalloc() in udf_sb_alloc_bitmap() instead of open-coding it.
Size computation wrapped in struct_size() macro to prevent potential
integer overflows.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Denis Efremov <[email protected]>
Reviewed-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions