Skip to content
Commit 7e5082fb authored by Dan Carpenter's avatar Dan Carpenter Committed by Eric Anholt
Browse files

drm/vc4: allocate enough memory in vc4_save_hang_state()



"state" is smaller than "kernel_state" so we end up corrupting memory.

Fixes: 21461365 ('drm/vc4: Add an interface for capturing the GPU state after a hang.')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 65c4777d
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