aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDmitry Vyukov <[email protected]>2016-10-14 15:22:22 +0200
committerDaniel Vetter <[email protected]>2016-10-17 08:21:14 +0200
commit49521b13cbc02aff9ac1fff8d425055cc86cef08 (patch)
tree3ab90884b6ace4be6fd89eb6ee5d0d13e4f0a177 /tools/perf/scripts/python/syscall-counts.py
parent0853695c3ba46f97dfc0b5885f7b7e640ca212dd (diff)
drivers/gpu/vga: allocate vga_arb_write() buffer on stack
Size of kmalloc() in vga_arb_write() is controlled by user. Too large kmalloc() size triggers WARNING message on console. Allocate the buffer on stack to avoid the WARNING. The string must be small (e.g "target PCI:domain:bus:dev.fn"). Signed-off-by: Dmitry Vyukov <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions