aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMartin Krastev <[email protected]>2022-10-22 00:02:21 -0400
committerZack Rusin <[email protected]>2022-10-25 12:42:14 -0400
commit3280706369f636cc6fc959a9842df5707c7fd85f (patch)
treeecebb38faf4ec16135d556a3917150890addf2c9 /tools/perf/scripts/python/exported-sql-viewer.py
parent7f4c33778686cc2d34cb4ef65b4265eea874c159 (diff)
drm/vmwgfx: Fix frame-size warning in vmw_mksstat_add_ioctl
Function vmw_mksstat_add_ioctl allocates three big arrays on stack. That triggers frame-size [-Wframe-larger-than=] warning. Refactor that function to use kmalloc_array instead. v2: Initialize page to null to avoid possible uninitialized use of it, spotted by the kernel test robot <[email protected]> Signed-off-by: Martin Krastev <[email protected]> Reviewed-by: Zack Rusin <[email protected]> Reviewed-by: Maaz Mombasawala <[email protected]> Signed-off-by: Zack Rusin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions