Skip to content
Commit 9341c668 authored by Alexandru-Cosmin Gheorghe's avatar Alexandru-Cosmin Gheorghe Committed by Maarten Lankhorst
Browse files

drm/selftests: Fix build warning -Wframe-larger-than

It seems for some random configuration drm_device is bigger than 2048
bytes.
The fix is to make the mock objects static variables.

Bug reported by 0-DAY Kernel test infrastructure here:
https://lists.01.org/pipermail/kbuild-all/2018-November/054431.html



Fixes: 6ff3d9ff ("drm/selftests: Add tests for drm_internal_framebuffer_create")
Signed-off-by: default avatarAlexandru-Cosmin Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102130103.7753-1-alexandru-cosmin.gheorghe@arm.com
parent 6ff3d9ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment