[GIT PULL] drm-vc4-fixes-2017-01-23 for 4.10

From: Eric Anholt
Date: Mon Jan 23 2017 - 19:24:28 EST


Linux 4.10-rc1 (2016-12-25 16:13:08 -0800)

are available in the git repository at:

https://github.com/anholt/linux drm-vc4-fixes-2017-01-23

for you to fetch changes up to 6b8ac63847bc2f958dd93c09edc941a0118992d9:

drm/vc4: Return -EINVAL on the overflow checks failing. (2017-01-17 22:06:01 +1100)

----------------------------------------------------------------
This pull request brings in a few little error checking fixes and one
slow memory leak fix.

----------------------------------------------------------------
Dan Carpenter (1):
drm/vc4: fix a bounds check

Eric Anholt (3):
drm/vc4: Fix memory leak of the CRTC state.
drm/vc4: Fix an integer overflow in temporary allocation layout.
drm/vc4: Return -EINVAL on the overflow checks failing.

drivers/gpu/drm/vc4/vc4_crtc.c | 2 +-
drivers/gpu/drm/vc4/vc4_gem.c | 4 +++-
drivers/gpu/drm/vc4/vc4_render_cl.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)