aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2017-06-13 22:45:48 +0900
committerBoris Brezillon <[email protected]>2017-06-20 09:14:53 +0200
commit7d370b2c255612569818134ae0a6d0e46eabfe8b (patch)
tree99e1e05b9a16623fa8f382c18340cbedb511cdc5 /tools/perf/scripts/python/call-graph-from-sql.py
parent997cde2a222091270ce0c276e567b68e5615f577 (diff)
mtd: nand: denali: use non-managed kmalloc() for DMA buffer
As Russell and Lars stated in the discussion [1], using devm_k*alloc() with DMA is not a good idea. Let's use kmalloc (not kzalloc because no need for zero-out). Also, allocate the buffer as late as possible because it must be freed for any error that follows. [1] https://lkml.org/lkml/2017/3/8/693 Signed-off-by: Masahiro Yamada <[email protected]> Cc: Russell King <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Acked-by: Robin Murphy <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions