diff options
author | 2022-10-22 00:02:21 -0400 | |
---|---|---|
committer | 2022-10-25 12:42:14 -0400 | |
commit | 3280706369f636cc6fc959a9842df5707c7fd85f (patch) | |
tree | ecebb38faf4ec16135d556a3917150890addf2c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/vmwgfx: Write the driver id registers (diff) | |
download | wireguard-linux-3280706369f636cc6fc959a9842df5707c7fd85f.tar.xz wireguard-linux-3280706369f636cc6fc959a9842df5707c7fd85f.zip |
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 <lkp@intel.com>
Signed-off-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com>
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221022040236.616490-3-zack@kde.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions