aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorRinHizakura <[email protected]>2021-12-25 18:06:07 +0800
committerMiquel Raynal <[email protected]>2022-01-23 16:37:04 +0100
commite0a9ddd5d9e1c66caefda825b3cea8ea9bd21bf0 (patch)
tree095342bc10427c6fc0fba60f302c64bad6c990d2 /tools/perf/scripts/python/libxed.py
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcalloc
Instead of self-checking overflow and allocating an array of specific size by counting the total required space handy, we already have existed kernel API which responses for all these works. Signed-off-by: RinHizakura <[email protected]> Reviewed-by: Richard Weinberger <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions