drm/sis|via: don't return stack garbage from free_mem ioctl
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 8 Jan 2012 21:42:27 +0000 (22:42 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 9 Jan 2012 12:11:39 +0000 (12:11 +0000)
commitb5215ef1a877cd81a2558f3ddbcf784671a27588
tree9bef1f5e9814906da9144ff8dc62006bc9e163cb
parentf0afb5d443748ee91a34e3a13cb454b0047be9ec
drm/sis|via: don't return stack garbage from free_mem ioctl

Fallout from my "kill drm_sman" refactor. Unfortunately gcc seems to
have failed me and not warned about this.

Tested-by: Jakob Bornecrantz <wallbraker@gmail.com> (on via)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/sis/sis_mm.c
drivers/gpu/drm/via/via_mm.c