drm/selftests/test-drm_dp_mst_helper: Move 'sideband_msg_req_encode_decode' onto...
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:41:00 +0000 (17:41 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Nov 2020 19:08:29 +0000 (20:08 +0100)
commit09234b88ef5598252d1cee37e4d7b26a48b6557f
treeb5570f756cbc5d8309d7854aa97793c495c00d31
parentffefe45a2d9ca4eef4b5fe88bd7a8072cdc94e05
drm/selftests/test-drm_dp_mst_helper: Move 'sideband_msg_req_encode_decode' onto the heap

There is too much data being stored on the stack.

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c: In function ‘sideband_msg_req_encode_decode’:
 drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c:168:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201116174112.1833368-31-lee.jones@linaro.org
drivers/gpu/drm/selftests/test-drm_dp_mst_helper.c